summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-03-27 09:26:15 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-03-27 09:26:15 +0000
commit652fc04d9039e9e6805f9bc08126416bbf0b3559 (patch)
treefbf0894860293170db456cc3d82cb62111f524d0
parent2b349e5e40d1e96a7968104e51fd10d95a6f390b (diff)
Don't install manual pages if daemon has been disabled
-rw-r--r--hcid/Makefile.am4
-rw-r--r--hidd/Makefile.am4
-rw-r--r--pand/Makefile.am4
-rw-r--r--sdpd/Makefile.am4
4 files changed, 12 insertions, 4 deletions
diff --git a/hcid/Makefile.am b/hcid/Makefile.am
index 712f6360..0081899d 100644
--- a/hcid/Makefile.am
+++ b/hcid/Makefile.am
@@ -41,13 +41,15 @@ INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/sdpd
BUILT_SOURCES = parser.h
+if HCID
man_MANS = hcid.8 hcid.conf.5
+endif
AM_YFLAGS = -d
CLEANFILES = lexer.c parser.c parser.h
-EXTRA_DIST = $(man_MANS) hcid.conf dbus-api.txt \
+EXTRA_DIST = hcid.8 hcid.conf.5 hcid.conf dbus-api.txt \
service-record.dtd service-did.xml service-spp.xml \
service-opp.xml service-ftp.xml
diff --git a/hidd/Makefile.am b/hidd/Makefile.am
index 83268343..309dd1f3 100644
--- a/hidd/Makefile.am
+++ b/hidd/Makefile.am
@@ -11,8 +11,10 @@ AM_CFLAGS = @BLUEZ_CFLAGS@
INCLUDES = -I$(top_srcdir)/common
+if HIDD
man_MANS = hidd.1
+endif
-EXTRA_DIST = $(man_MANS) fakehid.txt
+EXTRA_DIST = hidd.1 fakehid.txt
MAINTAINERCLEANFILES = Makefile.in
diff --git a/pand/Makefile.am b/pand/Makefile.am
index 447e950b..66021f30 100644
--- a/pand/Makefile.am
+++ b/pand/Makefile.am
@@ -11,8 +11,10 @@ AM_CFLAGS = @BLUEZ_CFLAGS@
INCLUDES = -I$(top_srcdir)/common
+if PAND
man_MANS = pand.1
+endif
-EXTRA_DIST = $(man_MANS)
+EXTRA_DIST = pand.1
MAINTAINERCLEANFILES = Makefile.in
diff --git a/sdpd/Makefile.am b/sdpd/Makefile.am
index 12740584..46989209 100644
--- a/sdpd/Makefile.am
+++ b/sdpd/Makefile.am
@@ -17,8 +17,10 @@ AM_CFLAGS = @BLUEZ_CFLAGS@ @GLIB_CFLAGS@
INCLUDES = -I$(top_srcdir)/common
+if SDPD
man_MANS = sdpd.8
+endif
-EXTRA_DIST = $(man_MANS)
+EXTRA_DIST = sdpd.8
MAINTAINERCLEANFILES = Makefile.in