aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorKalev Lember <kalev@smartlink.ee>2009-04-28 16:36:54 (GMT)
committerKalev Lember <kalev@smartlink.ee>2009-09-01 15:47:35 (GMT)
commitdf4440f0f53c189ce659350f0f87d6fcb51f1ac1 (patch)
tree7cd702cc96de80fb6f0ae02b9df7f16d36467765 /autogen.sh
parentdaef882d3cbbab5ea109ebd27d87a6e3dfd2829a (diff)
downloadpowwow-df4440f0f53c189ce659350f0f87d6fcb51f1ac1.zip
powwow-df4440f0f53c189ce659350f0f87d6fcb51f1ac1.tar.gz
powwow-df4440f0f53c189ce659350f0f87d6fcb51f1ac1.tar.bz2
Create empty ChangeLog if we build from git tree
For releases ChangeLog is generated from ChangeLog.old, but in case we are building directly from a git checkout and we lack ChangeLog file, automake fails.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index fe22daa..4058d25 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,8 @@
#! /bin/sh
+# Create empty ChangeLog if we are building from git tree
+test -f ChangeLog || touch ChangeLog
+
autoreconf -v --install || exit 1
./configure "$@"