bug-automake
[Top][All Lists]
Advanced

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

automake-1.4-p2 distclean target bug


From: Bruno Haible
Subject: automake-1.4-p2 distclean target bug
Date: Thu, 14 Jun 2001 17:11:59 +0200 (CEST)

To reproduce:
- take gettext-0.10.38,
- remove the configure.in lines 111 to 135 (which contain a workaround to this
  bug)
- run "./aclocal.sh aclocal -I m4"
- run "automake --gnits --include-deps Makefile misc/Makefile tests/Makefile"
- run "autoconf" (from autoconf-2.13)

Then Makefile.in will contain in line 235:

   test "$$subdir" = "." && dot_seen=yes; \

On FreeBSD with /bin/sh this leads to a failure. Apparently the return
status 1 of this command lets sh break out of the loop, and "make distclean"
fails.

A fix that works for me is to rewrite that line to

   test "$$subdir" != "." || dot_seen=yes; \


Bruno



reply via email to

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