diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-11-18 18:55:34 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-11-18 18:55:34 -0500 |
commit | 940706d45af236884ba0a972fe54cb13612d73a5 (patch) | |
tree | cc2ab35e38c92d96d609a616f2c4f1c2a5d94527 | |
parent | d68f6556449d3533bf368baa8631fbbcef125133 (diff) |
Fix manpage build under make distcheck
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | man/Makefile.am | 31 |
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) |