]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* distdir.am (distcheck): Print error message if distclean failed
authorTom Tromey <tromey@redhat.com>
Tue, 27 Feb 2001 07:55:17 +0000 (07:55 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 27 Feb 2001 07:55:17 +0000 (07:55 +0000)
to fully clean.

ChangeLog
distdir.am
lib/am/distdir.am

index 87e357037e8d237282a1fe99e844e67001563d0b..69083f8ae94222d8225ddc16ba38fc91f11336b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-27  Tom Tromey  <tromey@redhat.com>
+
+       * distdir.am (distcheck): Print error message if distclean failed
+       to fully clean.
+
 2001-02-27  Pavel Roskin  <proski@gnu.org>
 
        * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
index e566674e30e2ecd862de6bff503ab80066e4540b..8f0037cdb4ee0618b037fcb59f2984f6ff8a8196 100644 (file)
@@ -208,7 +208,8 @@ distdir: $(DISTFILES)
 ## Make sure to remove the dist file we created in the test build
 ## directory.
 ?TOPDIR?         && rm -f $(distdir).tar.gz \
-?TOPDIR?         && test `find . -type f -print | wc -l` -eq 0
+?TOPDIR?         && test `find . -type f -print | wc -l` -ne 0 \
+?TOPDIR?         && (echo "Error: files left after distclean" 1>&2; exit 1)
 ?TOPDIR?       -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
 ?TOPDIR?       @echo "$(distdir).tar.gz is ready for distribution" | \
 ?TOPDIR?         sed 'h;s/./=/g;p;x;p;x'
index e566674e30e2ecd862de6bff503ab80066e4540b..8f0037cdb4ee0618b037fcb59f2984f6ff8a8196 100644 (file)
@@ -208,7 +208,8 @@ distdir: $(DISTFILES)
 ## Make sure to remove the dist file we created in the test build
 ## directory.
 ?TOPDIR?         && rm -f $(distdir).tar.gz \
-?TOPDIR?         && test `find . -type f -print | wc -l` -eq 0
+?TOPDIR?         && test `find . -type f -print | wc -l` -ne 0 \
+?TOPDIR?         && (echo "Error: files left after distclean" 1>&2; exit 1)
 ?TOPDIR?       -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
 ?TOPDIR?       @echo "$(distdir).tar.gz is ready for distribution" | \
 ?TOPDIR?         sed 'h;s/./=/g;p;x;p;x'