add a rule to make ChangeLog automatically
authorChoe Hwanjin <choe.hwanjin@gmail.com>
Sun, 14 Jun 2009 11:24:08 +0000 (20:24 +0900)
committerChoe Hwanjin <choe.hwanjin@gmail.com>
Sun, 14 Jun 2009 11:24:08 +0000 (20:24 +0900)
Makefile.am
autogen.sh

index f0abe49..69b1d39 100644 (file)
@@ -63,3 +63,8 @@ clean-rpm:
        $(RM) -r "`uname -i`"
 
 clean-local: clean-rpm
+
+dist-hook:
+       if test -d .git ; then \
+               git log --name-status --date=iso > $(distdir)/ChangeLog ; \
+       fi
index 9e533f0..704a524 100755 (executable)
@@ -2,6 +2,7 @@
 set -e
 set -x
 
+touch ChangeLog
 autopoint
 libtoolize --automake --copy
 aclocal -I m4