fix building and cleaning of manpages
authorDave Reisner <dreisner@archlinux.org>
Thu, 2 Feb 2012 22:24:03 +0000 (17:24 -0500)
committerDave Reisner <dreisner@archlinux.org>
Fri, 3 Feb 2012 14:10:13 +0000 (09:10 -0500)
- add modules.dep as an explicit dependency of modules.dep.bin to ensure
  parallel builds don't fail
- add generated man pages to CLEANFILES

man/Makefile.am

index 875c3a8..772ff7f 100644 (file)
@@ -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 $<