summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2014-05-31 01:01:39 +0200
committerAlexander Færøy <ahf@0x90.dk>2014-05-31 01:01:39 +0200
commitfc556bdf4e0648c932ee2cbaca2454b8bb9a2396 (patch)
treebefec4379c2c7d4a6e9384e0e49f7b707e063207
parent7d6fa28bbd01358ae31a3fdc209b267422a906fa (diff)
downloadirssi-fc556bdf4e0648c932ee2cbaca2454b8bb9a2396.zip
Kill update-changelog.sh
-rw-r--r--.gitignore1
-rwxr-xr-xautogen.sh3
-rwxr-xr-xupdate-changelog.sh15
3 files changed, 3 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..56631abf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+ChangeLog
diff --git a/autogen.sh b/autogen.sh
index f0286239..40207d66 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -26,7 +26,8 @@ fi
echo "Creating help files..."
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'`
cat docs/help/in/Makefile.am.gen|sed "s/@HELPFILES@/$files/g"|sed 's/?/\\?/g'|tr '!?' '\t\n' > docs/help/in/Makefile.am
diff --git a/update-changelog.sh b/update-changelog.sh
deleted file mode 100755
index fe055b88..00000000
--- a/update-changelog.sh
+++ /dev/null
@@ -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