+2007-01-27 Bruno Haible <bruno@clisp.org>
+
+ * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
+ with locking example.
+
2007-01-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/automake.texi (Subpackages): Fix ambiguous wording.
data.c data.h data.w data.x: data.stamp
## Recover from the removal of $@@
@@if test -f $@@; then :; else \
- trap 'rm -rf data.lock data.stamp 1 2 13 15; \
+ trap 'rm -rf data.lock data.stamp' 1 2 13 15; \
## mkdir is a portable test-and-set
if mkdir data.lock 2>/dev/null; then \
## This code is being executed by the first process.
rm -f data.stamp; \
$(MAKE) $(AM_MAKEFLAGS) data.stamp; \
+ result=$$?; rm -rf data.lock; exit $$result; \
else \
## This code is being executed by the follower processes.
## Wait until the first process is done.
while test -d data.lock; do sleep 1; done; \
## Succeed if and only if the first process succeeded.
- test -f data.stamp; exit $$?; \
+ test -f data.stamp; \
fi; \
fi
@end example
-@set UPDATED 28 October 2006
-@set UPDATED-MONTH October 2006
+@set UPDATED 27 January 2007
+@set UPDATED-MONTH January 2007
@set EDITION 1.10a
@set VERSION 1.10a
-@set UPDATED 28 October 2006
-@set UPDATED-MONTH October 2006
+@set UPDATED 27 January 2007
+@set UPDATED-MONTH January 2007
@set EDITION 1.10a
@set VERSION 1.10a