]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* lib/am/distdir.am (distuninstallcheck, distcleancheck): Silent
authorAlexandre Duret-Lutz <adl@gnu.org>
Tue, 15 Apr 2003 20:40:31 +0000 (20:40 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Tue, 15 Apr 2003 20:40:31 +0000 (20:40 +0000)
these rules, so that we don't confuse users by echoing
"echo ERROR:" commands which are not run.

ChangeLog
Makefile.in
lib/am/distdir.am

index ca9ca86a7c8bd5bc6bc342aa9d4e0acee2d28b76..a2a9fe6141f6cd585e1008cc023bb5098f37eb5f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-15  Alexandre Duret-Lutz  <adl@gnu.org>
+
+       * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silent
+       these rules, so that we don't confuse users by echoing
+       "echo ERROR:" commands which are not run.
+
 2003-03-14  Richard Dawe  <rich@phekda.freeserve.co.uk>
            Alexandre Duret-Lutz  <adl@gnu.org>
 
index 439f2914f9c9a5590fe6f37b12acd99d449b2ee0..8ba170fe6273f4d305234602f763dc7e013456ba 100644 (file)
@@ -566,7 +566,7 @@ distcheck: dist
        @echo "$(distdir).tar.gz is ready for distribution" | \
          sed 'h;s/./=/g;p;x;p;x'
 distuninstallcheck:
-       cd $(distuninstallcheck_dir) \
+       @cd $(distuninstallcheck_dir) \
        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
           || { echo "ERROR: files left after uninstall:" ; \
                if test -n "$(DESTDIR)"; then \
@@ -575,11 +575,11 @@ distuninstallcheck:
                $(distuninstallcheck_listfiles) ; \
                exit 1; } >&2
 distcleancheck: distclean
-       if test '$(srcdir)' = . ; then \
+       @if test '$(srcdir)' = . ; then \
          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
          exit 1 ; \
        fi
-       test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+       @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
          || { echo "ERROR: files left in build directory after distclean:" ; \
               $(distcleancheck_listfiles) ; \
               exit 1; } >&2
index 3555eecb04ec7c0b66728d1a01c64f0eb3699b42..a06744f9e6ef0b2546beef19c88cf885503faefc 100644 (file)
@@ -354,9 +354,9 @@ distcheck: dist
 .PHONY: distuninstallcheck
 distuninstallcheck_listfiles = find . -type f -print
 distuninstallcheck:
-## We use -le 1 because the `dir' file might still exist after
-## uninstall.
-       cd $(distuninstallcheck_dir) \
+## We use -le 1 because the `dir' file (created by install-info)
+## might still exist after uninstall.
+       @cd $(distuninstallcheck_dir) \
        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
           || { echo "ERROR: files left after uninstall:" ; \
                if test -n "$(DESTDIR)"; then \
@@ -370,11 +370,11 @@ distuninstallcheck:
 .PHONY: distcleancheck
 distcleancheck_listfiles = find . -type f -print
 distcleancheck: distclean
-       if test '$(srcdir)' = . ; then \
+       @if test '$(srcdir)' = . ; then \
          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
          exit 1 ; \
        fi
-       test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+       @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
          || { echo "ERROR: files left in build directory after distclean:" ; \
               $(distcleancheck_listfiles) ; \
               exit 1; } >&2