# 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.
# Create the distribution file.
echo $e_n "Creating distribution tarball... $e_c"
$MAKE dist 1>>$O 2>&1
-mv wget-*.tar.gz $DEST_DIR
-echo "done."
+archive=`echo wget-*.tar.gz`
+mv "$archive" $DEST_DIR
+echo "$archive"
cd ..