automake
[Top][All Lists]
Advanced

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

[PATCH] small problem with automake-1.4


From: Marc Espie
Subject: [PATCH] small problem with automake-1.4
Date: Fri, 15 Dec 2000 03:37:35 +0100
User-agent: Mutt/1.2.5i

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



reply via email to

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