summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-02-02 17:24:03 -0500
committerDave Reisner <dreisner@archlinux.org>2012-02-03 09:10:13 -0500
commit3e71e7e7adabb8897653be438c66092c22c081dc (patch)
tree088da1d51805566fcc14959ba7c57dfb551033eb
parent1505ee979351dcb7e3b933cada7cb48ff057ba32 (diff)
downloadkmod-3e71e7e7adabb8897653be438c66092c22c081dc.tar.gz
kmod-3e71e7e7adabb8897653be438c66092c22c081dc.zip
fix building and cleaning of manpages
- add modules.dep as an explicit dependency of modules.dep.bin to ensure parallel builds don't fail - add generated man pages to CLEANFILES
-rw-r--r--man/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 875c3a8..772ff7f 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -4,6 +4,7 @@ MAN_STUB = modules.dep.bin.5
if BUILD_TOOLS
dist_man_MANS = $(MAN5) $(MAN8) $(MAN_STUB)
+modules.dep.bin.5: modules.dep.5
endif
EXTRA_DIST = $(MAN5:%.5=%.xml) $(MAN8:%.8=%.xml)
@@ -12,6 +13,8 @@ XSLTPROC_FLAGS = \
--nonet \
--param funcsynopsis.style "'ansi'"
+CLEANFILES = $(dist_man_MANS)
+
%.5 %.8: %.xml
$(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_FLAGS) \
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<