xpp: move tools man-pages into PBX_USB conditional v2.11.0
authorOron Peled <oron.peled@xorcom.com>
Sun, 13 Dec 2015 13:41:12 +0000 (15:41 +0200)
committerRuss Meyerriecks <rmeyerriecks@digium.com>
Tue, 22 Dec 2015 17:24:52 +0000 (11:24 -0600)
* Otherwise, they pull compilation of xpp tools via implicit rules.
* This breaks build without libusb/libusbx
* To test this scenario:
    ./configure .... --without-libusb --without-libusbx

Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>

xpp/Makefile.am

index 369e1d2..d06fffe 100644 (file)
@@ -20,14 +20,6 @@ GLOBAL_CFLAGS        += \
        -Wformat=2
 endif
 
-man_pages      = \
-               astribank_tool.8 \
-               astribank_hexload.8 \
-               astribank_allow.8 \
-               astribank_is_starting.8
-
-man_MANS       += $(man_pages)
-
 if PERL
 SUBDIRS                += perl_modules
 
@@ -149,6 +141,14 @@ astribank_allow_CFLAGS             = $(GLOBAL_CFLAGS)
 astribank_allow_LDFLAGS                = $(USB_LIBS)
 astribank_allow_LDADD          = libastribank.la
 
+man_pages      = \
+               astribank_tool.8 \
+               astribank_hexload.8 \
+               astribank_allow.8 \
+               astribank_is_starting.8
+
+man_MANS       += $(man_pages)
+
 endif
 
 EXTRA_DIST     = \