summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-05-21 12:38:00 -0700
committerIan Romanick <idr@us.ibm.com>2008-05-21 12:38:00 -0700
commit5b4ba84a422d168c01b335c4fc4046a7316463e0 (patch)
tree66751f3af09cd2fd05978a2b3f15b4415a6cb9af
parent56bc832134b4f6884999797f0f0c1b846602088d (diff)
Add .PHONY build target to fix parallel builds
-rw-r--r--man/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 845061f..6a5291a 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -77,7 +77,12 @@ SUFFIXES = .$(LIB_MAN_SUFFIX) .man
dist-hook: $(libman_PRE)
if HAVE_XMLTO
-$(libman_PRE): $(libman_xml)
+# The .PHONY intermediate target exists to make parallel builds work.
+.PHONY: do_xmlto_stage
+
+$(libman_PRE): do_xmlto_stage
+
+do_xmlto_stage: $(libman_xml)
$(XMLTO) man $(libman_xml)
for m in $(XTest_manpages); do \
mv -f $$m.__libmansuffix__ $$m.man ; \