diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 19 |
1 files changed, 3 insertions, 16 deletions
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 |