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
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
-rw-r--r--AUTHORS1
-rw-r--r--ChangeLog1
-rw-r--r--Makefile.am8
3 files changed, 10 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index e69de29..a78155c 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -0,0 +1 @@
+sera:Ralph Sennhauser <sera@gentoo.org>
diff --git a/ChangeLog b/ChangeLog
index e69de29..c21c815 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -0,0 +1 @@
+The ChangeLog is generated using svn2cl on `make dist`, use "svn log" instead.
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