diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-11-18 12:20:53 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-11-18 14:43:46 +0000 |
commit | 18e9d0db6fc9e120a63485d1ecbc8b5514d66c77 (patch) | |
tree | 4007709ed7a9cc7c1a92827bd1fb2c0376122138 /Makefile.am | |
parent | 142305b1d51e9a3c69e8e2e224480297e43f79ea (diff) | |
download | clutter-18e9d0db6fc9e120a63485d1ecbc8b5514d66c77.tar.gz |
build: Move ChangeLog rules in a separate file
The ChangeLog creation rules should be moved to their own file, to
make it easier to fix or change them in the future.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/Makefile.am b/Makefile.am index 3300b4fb0..63841f292 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,5 @@ include $(top_srcdir)/build/autotools/Makefile.am.silent +include $(top_srcdir)/build/autotools/Makefile.am.changelog NULL = @@ -60,22 +61,3 @@ MAINTAINERCLEANFILES = \ Makefile.in \ missing \ $(NULL) - -#PREV_RELEASE=$(CLUTTER_MAJOR_VERSION).$$(echo "$(CLUTTER_MINOR_VERSION)-1" | bc) -PREV_RELEASE=git-import - -dist-hook: - @if test -d "$(srcdir)/.git"; \ - then \ - to=""; \ - from="$(PREV_RELEASE)"; \ - echo Creating ChangeLog && \ - ( cd "$(top_srcdir)" && \ - echo '# Generated by configure. Do no edit.'; echo; \ - $(top_srcdir)/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 |