Moved silc_client_ch[u]mode[_char] to client library from silc/.
[silc.git] / prepare
diff --git a/prepare b/prepare
index 7ac2ad60fdd53be41bcddc29f57a197b9d250689..e052592dc8cf0d8297458459d6513c9406c077df 100755 (executable)
--- a/prepare
+++ b/prepare
@@ -30,4 +30,11 @@ aclocal
 autoconf
 autoheader
 automake
+
+version=`date +%Y%m%d`
+file=includes/version_internal.h
+echo "/* Automatically generated by ./prepare */" >$file
+echo "#define SILC_VERSION_STRING \"$version\"" >>$file
+echo "#define SILC_PROTOCOL_VERSION_STRING \"SILC-1.0-$version\"" >>$file
+
 echo "Done, now run ./configure and make."