pand_enable=yes
test_enable=no
cups_enable=no
+ manpages_enable=yes
configfiles_enable=yes
initscripts_enable=no
pcmciarules_enable=no
pand_enalbe=${enableval}
test_enable=${enableval}
cups_enable=${enableval}
+ manpages_enable=${enableval}
configfiles_enable=${enableval}
initscripts_enable=${enableval}
pcmciarules_enable=${enableval}
cups_enable=${enableval}
])
+ AC_ARG_ENABLE(manpages, AC_HELP_STRING([--enable-manpages], [install Bluetooth manual pages]), [
+ manpages_enable=${enableval}
+ ])
+
AC_ARG_ENABLE(configfiles, AC_HELP_STRING([--enable-configfiles], [install Bluetooth config files]), [
configfiles_enable=${enableval}
])
AM_CONDITIONAL(PAND, test "${pand_enable}" = "yes")
AM_CONDITIONAL(TEST, test "${test_enable}" = "yes")
AM_CONDITIONAL(CUPS, test "${cups_enable}" = "yes")
+ AM_CONDITIONAL(MANPAGES, test "${manpages_enable}" = "yes")
AM_CONDITIONAL(CONFIGFILES, test "${configfiles_enable}" = "yes")
AM_CONDITIONAL(INITSCRIPTS, test "${initscripts_enable}" = "yes")
AM_CONDITIONAL(PCMCIARULES, test "${pcmciarules_enable}" = "yes")
BUILT_SOURCES = parser.h
+if MANPAGES
man_MANS = rfcomm.1
+endif
AM_YFLAGS = -d
CLEANFILES = lexer.c parser.c parser.h
-EXTRA_DIST = $(man_MANS) rfcomm.conf
+EXTRA_DIST = rfcomm.1 rfcomm.conf
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = -I$(top_srcdir)/common
+if MANPAGES
man_MANS = hciattach.8 hciconfig.8 hcitool.1 l2ping.1 sdptool.1 ciptool.1 \
$(bccmd_manfiles) $(avctrl_manfiles) $(hid2hci_manfiles) $(dfutool_manfiles)
+endif
-EXTRA_DIST = $(man_MANS) bccmd.8 avctrl.8 hid2hci.8 dfutool.1 example.psr
+EXTRA_DIST = hciattach.8 hciconfig.8 hcitool.1 l2ping.1 sdptool.1 ciptool.1 \
+ bccmd.8 avctrl.8 hid2hci.8 dfutool.1 example.psr
MAINTAINERCLEANFILES = Makefile.in