guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

193/376: Fix parallel make of manpages


From: Ludovic Courtès
Subject: 193/376: Fix parallel make of manpages
Date: Wed, 28 Jan 2015 22:04:58 +0000

civodul pushed a commit to tag 1.8
in repository guix.

commit 3c8522cc2271c70a870a9eb69fde142c8cd560c6
Author: Eelco Dolstra <address@hidden>
Date:   Tue Sep 16 15:29:55 2014 +0200

    Fix parallel make of manpages
---
 doc/manual/local.mk |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/manual/local.mk b/doc/manual/local.mk
index 223a49b..7a2c36c 100644
--- a/doc/manual/local.mk
+++ b/doc/manual/local.mk
@@ -40,11 +40,13 @@ man-pages := $(foreach n, \
   nix.conf.5 nix-daemon.8, \
   $(d)/$(n))
 
-$(man-pages): $(d)/manual.xmli $(d)/manual.is-valid
-       $(trace-gen) $(XSLTPROC) --stringparam profile.condition manpage \
+$(firstword $(man-pages)): $(d)/manual.xmli $(d)/manual.is-valid
+       $(trace-gen) $(XSLTPROC) --novalid --stringparam profile.condition 
manpage \
          $(docbookxsl)/profiling/profile.xsl $< 2> /dev/null | \
          (cd doc/manual && $(XSLTPROC) $(docbookxsl)/manpages/docbook.xsl -)
 
+$(wordlist 2, $(words $(man-pages)), $(man-pages)): $(firstword $(man-pages))
+
 clean-files += $(d)/*.1 $(d)/*.5 $(d)/*.8
 
 dist-files += $(man-pages)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]