From: Tom Tromey Date: Tue, 25 Feb 1997 03:39:09 +0000 (+0000) Subject: bug fix X-Git-Tag: Release-1-1m~21 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=fe87ef0f3a5a53262680567b4d23fd6d81269612;p=automake.git bug fix --- diff --git a/lib/am/texi-vers.am b/lib/am/texi-vers.am index 31322048..f820131c 100644 --- a/lib/am/texi-vers.am +++ b/lib/am/texi-vers.am @@ -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 diff --git a/texi-vers.am b/texi-vers.am index b617402b..31322048 100644 --- a/texi-vers.am +++ b/texi-vers.am @@ -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