From: Dave Reisner Date: Thu, 2 Feb 2012 22:24:03 +0000 (-0500) Subject: fix building and cleaning of manpages X-Git-Tag: v5~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e71e7e7adabb8897653be438c66092c22c081dc;p=thirdparty%2Fkmod.git 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 --- diff --git a/man/Makefile.am b/man/Makefile.am index 875c3a8c..772ff7fb 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 $<