updates.
authorPekka Riikonen <priikone@silcnet.org>
Mon, 28 May 2001 12:26:12 +0000 (12:26 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 28 May 2001 12:26:12 +0000 (12:26 +0000)
prepare

diff --git a/prepare b/prepare
index 8719ff7abe39415ac806aacd685dd76aab4c2124..c7a4584390066d3833b5e9c46f547391c9a741fd 100755 (executable)
--- a/prepare
+++ b/prepare
@@ -84,7 +84,7 @@ done
 cd $path
 
 # Replace version string and create configure.in
-sed -e "/SILC_VERSION/s//$version/" configure.in.pre >configure.in2
+sed -e "/SILC_VERSION/s//$dist_version/" configure.in.pre >configure.in2
 sed -e "/SILC_PACKAGE/s//silc-"$distribution"/" configure.in2 >configure.in
 rm -f configure.in2
 
@@ -103,6 +103,7 @@ cd ../..
 file=includes/version_internal.h
 echo "/* Automatically generated by ./prepare */" >$file
 echo "#define SILC_VERSION_STRING \"$version\"" >>$file
+echo "#define SILC_DISTRIBUTION_VERSION \"$dist_version\"" >>$file
 echo "#define SILC_PROTOCOL_VERSION_STRING \"SILC-1.0-$version\"" >>$file
 
 # preparing irssi