]> sourceware.org Git - automake.git/commitdiff
* lib/am/distdir.am (distcheck): Report the trailing files.
authorAkim Demaille <akim@epita.fr>
Mon, 1 Oct 2001 07:09:01 +0000 (07:09 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 1 Oct 2001 07:09:01 +0000 (07:09 +0000)
Run `dist-gzip', not `dist', as it may leave other distribution
flavors.

ChangeLog
lib/am/distdir.am

index fa586a01543cfea348129a00eba90358fcd11b49..3b0b4607c092c88ea34214d28a02c8c949902c79 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-01  Akim Demaille  <akim@epita.fr>
+
+       * lib/am/distdir.am (distcheck): Report the trailing files.
+       Run `dist-gzip', not `dist', as it may leave other distribution
+       flavors.
+
 2001-09-29  Paul Eggert  <eggert@twinsun.com>
 
        * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
index d847b467be9b8a29ba614fef2a5dc53e6d59e534..14ad6b4d5317a7e32aeae662cf5ae90dfa97e979 100644 (file)
@@ -263,16 +263,18 @@ distcheck: dist
          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
 ## We use -le 1 because the `dir' file might still exist after uninstall.
          && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
-            || (echo "Error: files left after uninstall" 1>&2; \
-                exit 1) ) \
-         && $(MAKE) $(AM_MAKEFLAGS) dist \
+             || { echo "ERROR: files left after uninstall:" ; \
+                  find $$dc_install_base -type f -print ; \
+                  exit 1; } >&2 ) \
+         && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
          && $(MAKE) $(AM_MAKEFLAGS) distclean \
 ## Make sure to remove the dist file we created in the test build
 ## directory.
          && rm -f $(distdir).tar.gz \
          && (test `find . -type f -print | wc -l` -eq 0 \
-            || (echo "Error: files left after distclean" 1>&2; \
-                exit 1) )
+             || { echo "ERROR: files left after distclean:" ; \
+                  find . -type f -print ; \
+                  exit 1; } >&2 )
        -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
        @echo "$(distdir).tar.gz is ready for distribution" | \
          sed 'h;s/./=/g;p;x;p;x'
This page took 0.029621 seconds and 5 git commands to generate.