summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-02-03 19:20:16 +0100
committerJim Meyering <meyering@redhat.com>2008-02-09 14:50:05 +0100
commit57a85d58db6e0fb56749c0cc06a2a520f37ce664 (patch)
tree3ffcb2d82b444b36685336abe96f414fcbdda441
parent4cad6d9284ae5b0ed576e0df7a2005ebc5e9f76e (diff)
downloadidutils-57a85d58db6e0fb56749c0cc06a2a520f37ce664.tar.gz
idutils-57a85d58db6e0fb56749c0cc06a2a520f37ce664.tar.bz2
idutils-57a85d58db6e0fb56749c0cc06a2a520f37ce664.zip
Generate ChangeLog at "make dist" time.
* Makefile.am (dist-hook): New rule. * bootstrap.conf (gnulib_modules): Add gitlog-to-changelog.
-rw-r--r--Makefile.am5
-rw-r--r--bootstrap.conf1
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index cb3cc2c..22d1a59 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,3 +25,8 @@ distcheck-hook:
else \
:; \
fi
+
+dist-hook:
+ $(top_srcdir)/build-aux/gitlog-to-changelog --since=2008-01-01 \
+ > $(distdir)/cl-t
+ mv $(distdir)/cl-t $(distdir)/ChangeLog
diff --git a/bootstrap.conf b/bootstrap.conf
index 7727a7b..6227049 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -55,6 +55,7 @@ gnulib_modules="
getopt
gettext
git-version-gen
+ gitlog-to-changelog
gnu-make
gnupload
havelib