]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
silence stamp-creation rules
authorTom Tromey <tromey@redhat.com>
Fri, 28 Mar 1997 00:52:18 +0000 (00:52 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 28 Mar 1997 00:52:18 +0000 (00:52 +0000)
ChangeLog
Makefile.am
Makefile.in
lib/am/Makefile.am
lib/am/texi-vers.am
texi-vers.am

index 7691a552f6efd2118a6b0cac77e32f24a2358834..b780cdb353e9e6736dbeaaa8ab6e98d6277525a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Thu Mar 27 17:28:47 1997  Tom Tromey  <tromey@cygnus.com>
 
+       * texi-vers.am (stamp-@VTI@): Make commands silent.
+
+       * Makefile.am (maintainer-check): "true" is ok now.
+
        * m4/init.m4: Added optional 3rd argument, which avoids
        AC_DEFINE.
 
index 3f73a2373bbeef9d8cbe49555d13b91ff2131168..27af5e556d6ca800ee1c9e40fa3d643401729507 100644 (file)
@@ -54,11 +54,6 @@ maintainer-check: automake aclocal
 ## Syntax check with default Perl (on my machine, Perl 5).
        $(PERL) -c -w automake
        $(PERL) -c -w aclocal
-## Ensure `true' is never used; I've accidentally used it before.
-       @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
-         echo "can't use 'true' in GNU Makefile" 1>&2; \
-         exit 1;                               \
-       else :; fi
 ## expect no instances of '${...}'.  However, $${...} is ok, since that
 ## is a shell construct, not a Makefile construct.
        @if test `fgrep '$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
index a0d34ee46c54514446182fbdcc09409a6fba8277..5732285e21a3ec739a4dd0292e1ff7c4873cd75b 100644 (file)
@@ -493,10 +493,6 @@ perl4-check: automake aclocal
 maintainer-check: automake aclocal
        $(PERL) -c -w automake
        $(PERL) -c -w aclocal
-       @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
-         echo "can't use 'true' in GNU Makefile" 1>&2; \
-         exit 1;                               \
-       else :; fi
        @if test `fgrep '$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
          echo "found too many uses of '\$${'" 1>&2; \
          exit 1;                               \
index 3f73a2373bbeef9d8cbe49555d13b91ff2131168..27af5e556d6ca800ee1c9e40fa3d643401729507 100644 (file)
@@ -54,11 +54,6 @@ maintainer-check: automake aclocal
 ## Syntax check with default Perl (on my machine, Perl 5).
        $(PERL) -c -w automake
        $(PERL) -c -w aclocal
-## Ensure `true' is never used; I've accidentally used it before.
-       @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
-         echo "can't use 'true' in GNU Makefile" 1>&2; \
-         exit 1;                               \
-       else :; fi
 ## expect no instances of '${...}'.  However, $${...} is ok, since that
 ## is a shell construct, not a Makefile construct.
        @if test `fgrep '$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
index b617402b4a243cbba594b85e8b8357a0c94c05ee..6f0c18efadea7507f0fcbbba1156f9484e337df1 100644 (file)
 ## Depend on configure.in so that version number updates cause a
 ## rebuild.
 stamp-@VTI@: @TEXI@ $(top_srcdir)/configure.in
-       echo "@set UPDATED `cd $(srcdir) \
+       @echo "@set UPDATED `cd $(srcdir) \
          && $(SHELL) @MDDIR@/mdate-sh @TEXI@`" > @VTI@.tmp
-       echo "@set EDITION $(VERSION)" >> @VTI@.tmp
-       echo "@set VERSION $(VERSION)" >> @VTI@.tmp
+       @echo "@set EDITION $(VERSION)" >> @VTI@.tmp
+       @echo "@set VERSION $(VERSION)" >> @VTI@.tmp
 ## Use cp and rm here because some older "mv"s can't move across
 ## filesystems.  Furthermore, GNU "mv" in the AmigaDOS environment
 ## can't handle this.
-       cmp -s @VTI@.tmp $(srcdir)/stamp-@VTI@ \
-         || cp @VTI@.tmp $(srcdir)/stamp-@VTI@
-       rm -f @VTI@.tmp
+       @cmp -s @VTI@.tmp $(srcdir)/stamp-@VTI@ 
+         || (echo "Updating $(srcdir)/stamp-@VTI@"; \
+             cp @VTI@.tmp $(srcdir)/stamp-@VTI@)
+       @rm -f @VTI@.tmp
 
 mostlyclean-@VTI@:
        rm -f @VTI@.tmp
index b617402b4a243cbba594b85e8b8357a0c94c05ee..6f0c18efadea7507f0fcbbba1156f9484e337df1 100644 (file)
 ## Depend on configure.in so that version number updates cause a
 ## rebuild.
 stamp-@VTI@: @TEXI@ $(top_srcdir)/configure.in
-       echo "@set UPDATED `cd $(srcdir) \
+       @echo "@set UPDATED `cd $(srcdir) \
          && $(SHELL) @MDDIR@/mdate-sh @TEXI@`" > @VTI@.tmp
-       echo "@set EDITION $(VERSION)" >> @VTI@.tmp
-       echo "@set VERSION $(VERSION)" >> @VTI@.tmp
+       @echo "@set EDITION $(VERSION)" >> @VTI@.tmp
+       @echo "@set VERSION $(VERSION)" >> @VTI@.tmp
 ## Use cp and rm here because some older "mv"s can't move across
 ## filesystems.  Furthermore, GNU "mv" in the AmigaDOS environment
 ## can't handle this.
-       cmp -s @VTI@.tmp $(srcdir)/stamp-@VTI@ \
-         || cp @VTI@.tmp $(srcdir)/stamp-@VTI@
-       rm -f @VTI@.tmp
+       @cmp -s @VTI@.tmp $(srcdir)/stamp-@VTI@ 
+         || (echo "Updating $(srcdir)/stamp-@VTI@"; \
+             cp @VTI@.tmp $(srcdir)/stamp-@VTI@)
+       @rm -f @VTI@.tmp
 
 mostlyclean-@VTI@:
        rm -f @VTI@.tmp