summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklondike <klondike@xiscosoft.es>2012-11-19 03:43:53 +0100
committerklondike <klondike@xiscosoft.es>2012-11-19 03:43:53 +0100
commit54f8992ab9ebe04e79f752ed0ac45c06e49ff407 (patch)
treed9b6f5183674b6b019f521b18c264c182373c762
parente0b2bb0a47754d0887cecbb3f69f6f7bdcd1addb (diff)
parent940706d45af236884ba0a972fe54cb13612d73a5 (diff)
Merge branch 'master' of github.com:gentoo/eudev
-rw-r--r--man/Makefile.am31
1 files changed, 17 insertions, 14 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index a328876f25..0ecf97d35a 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,11 +1,24 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+XMLPAGES = \
+ udev.xml \
+ udevadm.xml
+
+noinst_DATA = \
+ $(XMLPAGES)
+
+EXTRA_DIST = \
+ $(XMLPAGES)
+
MANPAGES = \
udev.7 \
udevadm.8
-XML_FILES = \
- ${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}
+man_MANS = \
+ $(MANPAGES)
+
+CLEANFILES = \
+ $(MANPAGES)
XSLTPROC_FLAGS = \
--nonet \
@@ -15,21 +28,11 @@ XSLTPROC_FLAGS = \
--stringparam man.authors.section.enabled 0 \
--stringparam man.copyright.section.enabled 0
-man_MANS = \
- $(MANPAGES)
-
-noinst_DATA = \
- $(XML_FILES)
-
-CLEANFILES = \
- $(MANPAGES)
-
XSLTPROC_PROCESS_MAN = \
- $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
-%.7: %.xml
+udev.7: udev.xml
$(XSLTPROC_PROCESS_MAN)
-%.8: %.xml
+udevadm.8: udevadm.xml
$(XSLTPROC_PROCESS_MAN)