diff options
author | Timo Sirainen <cras@irssi.org> | 2000-04-26 08:10:09 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-04-26 08:10:09 +0000 |
commit | d29ca0b107a5b6abb4eadd036f37acd33bb72ed0 (patch) | |
tree | bcf53c98b5166a33753fc70444c24118ae8da9d1 /autogen.sh | |
parent | c95034c6de1bf72536595e1e3431d8ec64b9880e (diff) | |
download | irssi-d29ca0b107a5b6abb4eadd036f37acd33bb72ed0.zip |
rest of the ~rewrite?
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@172 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -14,4 +14,13 @@ PKG_NAME="Irssi" exit 1 } +# get versions + +version=`cat configure.in|grep AM_INIT_AUTOMAKE|sed 's/[^,]*, \([^\)]*\).*/\1/'` +version_date=`date +%Y%m%d` + +echo "/* automatically created by autogen.sh */" > irssi-version.h +echo "#define IRSSI_VERSION \"$version\"" >> irssi-version.h +echo "#define IRSSI_VERSION_DATE \"$version_date\"" >> irssi-version.h + . $srcdir/macros/autogen.sh |