summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-01-25 16:54:24 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-01-25 16:54:24 +0100
commit6528a3938fe8727b99b210cf504a335d07c94c37 (patch)
tree235cc42f39dcb24366bae946a61046d63a52deb8
parent3163ddd40d81cf29a114d73c585b65635256ae65 (diff)
build-sys: we need to install shipped man pages without xsltproc installed
-rw-r--r--Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index f94eb58e96..1de4b27af0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -266,7 +266,6 @@ src_udevadm_CFLAGS = $(udev_common_CFLAGS)
src_udevadm_LDADD = $(udev_common_LDADD)
src_udevadm_CPPFLAGS = $(udev_common_CPPFLAGS)
-if HAVE_XSLTPROC
# ------------------------------------------------------------------------------
# udev man pages
# ------------------------------------------------------------------------------
@@ -275,16 +274,17 @@ dist_man_MANS += \
src/udevadm.8 \
src/udevd.8
-dist_noinst_DATA = \
- src/udev.html \
- src/udevadm.html \
- src/udevd.html
-
EXTRA_DIST += \
src/udev.xml \
src/udevadm.xml \
src/udevd.xml
+if HAVE_XSLTPROC
+dist_noinst_DATA = \
+ src/udev.html \
+ src/udevadm.html \
+ src/udevd.html
+
src/%.7 src/%.8 : src/%.xml
$(AM_V_GEN)$(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<