mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Changed autogen.sh and configure.in, so compiling works with svn, darix will make the svn path configureable
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3680 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7a8c5f6763
commit
f7e12d390a
@ -29,6 +29,12 @@ version_date=`date +%Y%m%d`
|
|||||||
echo "Creating help files..."
|
echo "Creating help files..."
|
||||||
perl syntax.pl
|
perl syntax.pl
|
||||||
|
|
||||||
|
SVN=svn
|
||||||
|
# the TZ hack is needed.
|
||||||
|
# otherwise the log will have local timezone
|
||||||
|
TZ=UTC $SVN log -v > ChangeLog
|
||||||
|
TZ=UTC $SVN log -v --xml > ChangeLog.xml
|
||||||
|
|
||||||
files=`echo docs/help/in/*.in|sed -e 's,docs/help/in/Makefile.in ,,' -e 's,docs/help/in/,!,g' -e 's/\.in /.in ?/g'`
|
files=`echo docs/help/in/*.in|sed -e 's,docs/help/in/Makefile.in ,,' -e 's,docs/help/in/,!,g' -e 's/\.in /.in ?/g'`
|
||||||
cat docs/help/in/Makefile.am.gen|sed "s/@HELPFILES@/$files/g"|sed 's/?/\\?/g'|tr '!?' '\t\n' > docs/help/in/Makefile.am
|
cat docs/help/in/Makefile.am.gen|sed "s/@HELPFILES@/$files/g"|sed 's/?/\\?/g'|tr '!?' '\t\n' > docs/help/in/Makefile.am
|
||||||
|
|
||||||
|
@ -913,8 +913,8 @@ fi
|
|||||||
dnl **
|
dnl **
|
||||||
dnl ** IRSSI_VERSION_DATE and IRSSI_VERSION_TIME
|
dnl ** IRSSI_VERSION_DATE and IRSSI_VERSION_TIME
|
||||||
dnl **
|
dnl **
|
||||||
VERSION_DATE=`head -n 1 $srcdir/ChangeLog|sed 's/^\(....\)-\(..\)-\(..\).*/\1\2\3/'`
|
VERSION_DATE=`head -n 2 $srcdir/ChangeLog| tail -n 1 | awk '{print $5}' | tr -d '-'`
|
||||||
VERSION_TIME=`head -n 1 $srcdir/ChangeLog|sed -e 's/^[[^ ]]* \(..\):\(..\).*/\1\2/' -e 's/^0*//'`
|
VERSION_TIME=`head -n 2 $srcdir/ChangeLog| tail -n 1 | awk '{print $6}' | awk -F: '{print $1$2}'`
|
||||||
AC_SUBST(VERSION_DATE)
|
AC_SUBST(VERSION_DATE)
|
||||||
AC_SUBST(VERSION_TIME)
|
AC_SUBST(VERSION_TIME)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user