summaryrefslogtreecommitdiff
path: root/Build/source/am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-07-16 07:45:15 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-07-16 07:45:15 +0000
commit0bf477ff66fe78bfa6db1866aa5eb8c5ba173328 (patch)
tree8c89177c9d11cf9b155b215da923b00c1fe4237c /Build/source/am
parente1631d84c22eee1553513440376ec06ec68e43c1 (diff)
build system: Avoid more 'parallel make' problems
git-svn-id: svn://tug.org/texlive/trunk@31209 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/am')
-rw-r--r--Build/source/am/rebuild.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/Build/source/am/rebuild.am b/Build/source/am/rebuild.am
index db8f5b11fca..81f7d33b623 100644
--- a/Build/source/am/rebuild.am
+++ b/Build/source/am/rebuild.am
@@ -8,7 +8,7 @@
## Serialize concurrent rebuild attempts
## Compare Automake manual (info Automake) 27.9: Multiple Outputs
##
-rebuild.stamp:
+rebuild.stamp: $(rebuild_target)
echo timestamp >$@
.PHONY: rebuild
@@ -22,8 +22,7 @@ rebuild: $(rebuild_prereq)
if test -f rebuild.stamp; then :; else \
$$dry trap 'rm -rf rebuild.lock' 1 2 13 15; \
if $$dry mkdir rebuild.lock 2>/dev/null; then \
- $(MAKE) $(AM_MAKEFLAGS) $(rebuild_target) \
- && echo timestamp >rebuild.stamp; \
+ $(MAKE) $(AM_MAKEFLAGS) rebuild.stamp; \
$$dry rmdir rebuild.lock; \
else \
while test -d rebuild.lock && test -z "$$dry"; do sleep 1; done; \