]> sjero.net Git - wget/blobdiff - util/dist-wget
[svn] Synch doc/version.texi with src/version.c.
[wget] / util / dist-wget
index 13ec93a4a27ce3a5ac70a062112ba46c668b608f..2dc305ccda129ae45cb5a38c99e56fd63bcdf5ee 100755 (executable)
@@ -98,8 +98,9 @@ rm -rf Branches 1>>$O 2>&1
 # Force the version if required.
 if test x"$VERSION" != x
 then
-  echo "char *version_string = \"$VERSION\";" > src/version.c
   echo "Forcing version to $VERSION."
+  echo "char *version_string = \"$VERSION\";" > src/version.c
+  echo "@set VERSION $VERSION" > doc/version.texi
 fi
 
 # Create configure and friends.