diff options
-rw-r--r-- | man/Makefile.am | 7 |
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 ; \ |