From df4440f0f53c189ce659350f0f87d6fcb51f1ac1 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 28 Apr 2009 19:36:54 +0300 Subject: 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. diff --git a/.gitignore b/.gitignore index a485cc2..ff22540 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.o *~ .deps/ +ChangeLog Makefile Makefile.in aclocal.m4 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 "$@" -- cgit v0.10.2