aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-12-13 12:24:04 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-12-13 12:24:04 +0000
commitb5fe5d12affbd6ea88786392fbb8022e83ff1e6b (patch)
treee72008b900f427ed90d3bdf5479702dddaaf9a95 /Makefile.am
parentAdd old ChangeLogs for imported modules (diff)
downloadeselect-java-b5fe5d12affbd6ea88786392fbb8022e83ff1e6b.tar.gz
eselect-java-b5fe5d12affbd6ea88786392fbb8022e83ff1e6b.tar.bz2
eselect-java-b5fe5d12affbd6ea88786392fbb8022e83ff1e6b.zip
Generate ChangeLog from vcs when creating the tarball with make dist respectively make distcheck.
svn path=/projects/eselect-java/trunk/; revision=9126
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index f0b9a58..780af9c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,3 +16,11 @@ EXTRA_DIST = \
COPYING \
NEWS \
README
+
+dist-hook:
+ if test -d "$(srcdir)"/.svn ; then \
+ echo "Generating ChangeLog ..." ; \
+ ( cd "$(top_srcdir)" && svn2cl --authors AUTHORS -o "$(top_distdir)"/ChangeLog ) ; \
+ else \
+ echo "Needs a svn checkout to generate a ChangeLog" ; \
+ fi