From 212b247e689f84a431c67f80144384c5d2a27c50 Mon Sep 17 00:00:00 2001 From: Oron Peled Date: Sun, 13 Dec 2015 15:41:12 +0200 Subject: [PATCH] xpp: move tools man-pages into PBX_USB conditional * 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 Signed-off-by: Russ Meyerriecks --- xpp/Makefile.am | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/xpp/Makefile.am b/xpp/Makefile.am index 369e1d2..d06fffe 100644 --- a/xpp/Makefile.am +++ b/xpp/Makefile.am @@ -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 = \