From 5b4ba84a422d168c01b335c4fc4046a7316463e0 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 21 May 2008 12:38:00 -0700 Subject: Add .PHONY build target to fix parallel builds --- man/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 ; \ -- cgit v1.2.3