summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Staudinger <robertx.staudinger@intel.com>2009-06-01 12:21:18 +0200
committerRobert Staudinger <robertx.staudinger@intel.com>2009-06-01 12:21:18 +0200
commit0d73b830effd2c9964a4e9f554e7dc7d2b74c047 (patch)
treedc822ab64de219f684fa03e8cbf02832656d1580
parent56a974a76c2604f84c150bffe276119f4722c66c (diff)
[build] Always create ChangeLog for the entire history.libccss-0.2.1
Remove ChangeLog template.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.am19
2 files changed, 3 insertions, 22 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 85084eb..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,6 +0,0 @@
-2009-04-15 Damien Lespiau <damien.lespiau@intel.com>
-
- * *: Clutter moved from Subversion to Git. If you are reading
- this then you should use `git log` to read the changes from
- the commit messages.
-
diff --git a/Makefile.am b/Makefile.am
index ff034ee..cdc241f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,20 +59,7 @@ CLEANFILES = \
test-report.xml \
$(NULL)
-PREV_RELEASE=$(CCSS_VERSION_MAJOR).$$(echo "$(CCSS_VERSION_MINOR)-1" | bc)
+ChangeLog: configure.in
+ @echo Creating ChangeLog ...
+ $(top_srcdir)/build/gen-changelog.pl > $@
-dist-hook:
- @if test -d "$(srcdir)/.git"; \
- then \
- to=""; \
- from="libccss-$(PREV_RELEASE)"; \
- echo Creating ChangeLog && \
- ( cd "$(top_srcdir)" && \
- echo '# Generated by configure. Do no edit.'; echo; \
- $(top_srcdir)/build/missing --run perl $(top_srcdir)/build/gen-changelog.pl $$from..$$to ) > ChangeLog.tmp \
- && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
- || ( rm -f ChangeLog.tmp ; \
- echo Failed to generate ChangeLog >&2 ); \
- else \
- echo A git checkout is required to generate a ChangeLog >&2; \
- fi