mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Kill update-changelog.sh
This commit is contained in:
parent
7d6fa28bbd
commit
fc556bdf4e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
ChangeLog
|
@ -26,7 +26,8 @@ fi
|
|||||||
echo "Creating help files..."
|
echo "Creating help files..."
|
||||||
perl syntax.pl
|
perl syntax.pl
|
||||||
|
|
||||||
$srcdir/update-changelog.sh $srcdir
|
echo "Creating ChangeLog..."
|
||||||
|
git log > $srcdir/ChangeLog
|
||||||
|
|
||||||
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
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
srcdir=$1
|
|
||||||
test -d $srcdir/.svn || exit
|
|
||||||
SVN_VERSION=`LC_ALL=C svn info $srcdir 2>/dev/null | awk '/^Last Changed Rev/{print $4}'`
|
|
||||||
test -n "$SVN_VERSION" || exit
|
|
||||||
if test -f $srcdir/ChangeLog; then
|
|
||||||
CHANGELOG_VERSION=`awk 'NR == 2{print substr($1, 2);exit}' $srcdir/ChangeLog`
|
|
||||||
fi
|
|
||||||
if test -z "$CHANGELOG_VERSION"; then
|
|
||||||
TZ=UTC svn log -v $srcdir > $srcdir/ChangeLog
|
|
||||||
elif test $SVN_VERSION -ne $CHANGELOG_VERSION; then
|
|
||||||
TZ=UTC svn log -v --incremental -r $SVN_VERSION:`expr $CHANGELOG_VERSION + 1` $srcdir | \
|
|
||||||
cat - $srcdir/ChangeLog > ChangeLog.$$ && mv ChangeLog.$$ $srcdir/ChangeLog
|
|
||||||
fi
|
|
Loading…
Reference in New Issue
Block a user