]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
2001-10-20 Kevin Ryde <user42@zip.com.au>
authorTom Tromey <tromey@redhat.com>
Sat, 20 Oct 2001 19:17:16 +0000 (19:17 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 20 Oct 2001 19:17:16 +0000 (19:17 +0000)
* lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
actually using ansi2knr.

ChangeLog
lib/am/ansi2knr.am

index 6c30e2aa5deb275b591cf8dcc485368ae57051e3..cdcbbbd299e258ccb4833e9441ecf369d462b2cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-10-20  Kevin Ryde <user42@zip.com.au>
 
+       * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
+       actually using ansi2knr.
+
        * automake.in (handle_configure): Always put a number on $stamp_name,
        to match AM_CONFIG_HEADER.
 
index a267cef394286130ae0e8739d412a92b5f255731..0f536739a1ce57edb43d42b75981c545f0b0567b 100644 (file)
@@ -71,4 +71,7 @@ endif !%?ANSI2KNR-DIR%
 
 mostlyclean-am: mostlyclean-kr
 mostlyclean-kr:
-       -rm -f *_.c
+## Only delete *_.c when ansi2knr is actually in use, so as to avoid
+## deleting sources that happen to end in "_" after being truncated on a DOS
+## 8.3 filesystem with srcdir==builddir.
+       -test "$U" = "" || rm -f *_.c