This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
[PATCH] small problem with automake-1.4
- To: automake at gnu dot org
- Subject: [PATCH] small problem with automake-1.4
- From: Marc Espie <espie at schutzenberger dot liafa dot jussieu dot fr>
- Date: Fri, 15 Dec 2000 03:37:35 +0100
- List-Id: Discussion list for automake <automake.gnu.org><mailto:automake-request@gnu.org?subject=unsubscribe>
- Reply-To: Marc dot Espie at liafa dot jussieu dot fr
There is a small problem with automake-1.4 that is no longer present
in the development reasons.
There is a weird interaction with some versions of ksh that make the
generated recursive clean rules fail. Namely, the error from within
the loop propagates outside the loop and makes the whole target fails.
As automake-current uses another shell fragment, this no longer happens.
I don't follow automake development too closely.
If, by any chance, a bug-fixed release is planned at some point, it
should either include the shell fragment in the development version, or
use the following patch:
--- subdirs.am.orig Fri Dec 15 03:22:41 2000
+++ subdirs.am Fri Dec 15 03:22:57 2000
@@ -60,6 +60,7 @@ maintainer-clean-recursive:
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
test "$$subdir" = "." && dot_seen=yes; \
+ true; \
done; \
## If we haven't seen `.', then add it at the beginning.
test "$$dot_seen" = "no" && rev=". $$rev"; \