]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
bug fix
authorTom Tromey <tromey@redhat.com>
Tue, 25 Feb 1997 03:39:56 +0000 (03:39 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 25 Feb 1997 03:39:56 +0000 (03:39 +0000)
lib/am/texi-vers.am
texi-vers.am

index 313220480377a15113303629f5ccdf7a7438e880..f820131c77786ab54a2958d78b22d8f9e2198980 100644 (file)
@@ -28,11 +28,9 @@ stamp-@VTI@: @TEXI@ $(top_srcdir)/configure.in
 ## 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.
-       if cmp -s @VTI@.tmp $(srcdir)/@VTEXI@; then \
-         rm -f @VTI@.tmp; \
-       else \
-         cp @VTI@.tmp $(srcdir)/stamp-@VTI@; \
-       fi
+       cmp -s @VTI@.tmp $(srcdir)/@VTEXI@ \
+         || cp @VTI@.tmp $(srcdir)/stamp-@VTI@
+       rm -f @VTI@.tmp
 
 mostlyclean-@VTI@:
        rm -f @VTI@.tmp
index 313220480377a15113303629f5ccdf7a7438e880..f820131c77786ab54a2958d78b22d8f9e2198980 100644 (file)
@@ -28,11 +28,9 @@ stamp-@VTI@: @TEXI@ $(top_srcdir)/configure.in
 ## 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.
-       if cmp -s @VTI@.tmp $(srcdir)/@VTEXI@; then \
-         rm -f @VTI@.tmp; \
-       else \
-         cp @VTI@.tmp $(srcdir)/stamp-@VTI@; \
-       fi
+       cmp -s @VTI@.tmp $(srcdir)/@VTEXI@ \
+         || cp @VTI@.tmp $(srcdir)/stamp-@VTI@
+       rm -f @VTI@.tmp
 
 mostlyclean-@VTI@:
        rm -f @VTI@.tmp