]> sourceware.org Git - automake.git/commitdiff
bug fix
authorTom Tromey <tromey@redhat.com>
Tue, 25 Feb 1997 03:39:09 +0000 (03:39 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 25 Feb 1997 03:39:09 +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 b617402b4a243cbba594b85e8b8357a0c94c05ee..313220480377a15113303629f5ccdf7a7438e880 100644 (file)
@@ -28,9 +28,11 @@ 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.
-       cmp -s @VTI@.tmp $(srcdir)/stamp-@VTI@ \
-         || cp @VTI@.tmp $(srcdir)/stamp-@VTI@
-       rm -f @VTI@.tmp
+       if cmp -s @VTI@.tmp $(srcdir)/@VTEXI@; then \
+         rm -f @VTI@.tmp; \
+       else \
+         cp @VTI@.tmp $(srcdir)/stamp-@VTI@; \
+       fi
 
 mostlyclean-@VTI@:
        rm -f @VTI@.tmp
This page took 0.032181 seconds and 5 git commands to generate.