This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] small problem with automake-1.4


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"; \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]