mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
Move irssi-version.h generation out of configure and add suport for getting the
date of the last change with svn info/git log. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4906 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5497b07c8a
commit
52b506e13a
5 changed files with 19 additions and 16 deletions
|
|
@ -698,14 +698,6 @@ if test "x$want_ipv6" = "xyes"; then
|
|||
AC_MSG_RESULT($have_ipv6)
|
||||
fi
|
||||
|
||||
dnl **
|
||||
dnl ** IRSSI_VERSION_DATE and IRSSI_VERSION_TIME
|
||||
dnl **
|
||||
VERSION_DATE=`head -n 2 $srcdir/ChangeLog| grep '^r' | awk '{print $5}' | tr -d '-'`
|
||||
VERSION_TIME=`head -n 2 $srcdir/ChangeLog| grep '^r' | awk '{print $6}' | awk -F: '{printf "%d\n", $1$2}'`
|
||||
AC_SUBST(VERSION_DATE)
|
||||
AC_SUBST(VERSION_TIME)
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
src/Makefile
|
||||
|
|
@ -734,7 +726,6 @@ scripts/examples/Makefile
|
|||
docs/Makefile
|
||||
docs/help/Makefile
|
||||
docs/help/in/Makefile
|
||||
irssi-version.h
|
||||
irssi-config
|
||||
])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue