More version.texi fixes
authorTom Tromey <tromey@redhat.com>
Sun, 26 Nov 1995 05:40:01 +0000 (05:40 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 26 Nov 1995 05:40:01 +0000 (05:40 +0000)
automake.in

index 58f6216..cc8b335 100755 (executable)
@@ -311,8 +311,6 @@ p
        $echo "automake: $am_makefile specified more than one file in \`TEXINFOS'"
        am_localstatus=1
      else
-       sed "s/@TEXI@/$TEXINFOS/g" $am_dir/texi-version.am >&5
-
        am_infobase=`echo "$TEXINFOS" | sed 's/\.texi//'`
 
        am_deps=
@@ -324,6 +322,7 @@ p
           # User supplied eg automake_TEXINFOS.  So use those as
           # dependencies.
           am_deps="\$(${am_infobase}_TEXINFOS) $am_deps"
+          sed "s/@TEXI@/$TEXINFOS/g" $am_dir/texi-version.am >&5
        fi