[build] Generate ChangeLog from the Git import

This commit is contained in:
Emmanuele Bassi 2009-07-27 17:24:35 +01:00
parent 76140c5f52
commit a8eb5bd461

View File

@ -61,7 +61,8 @@ MAINTAINERCLEANFILES = \
missing \
$(NULL)
PREV_RELEASE=$(CLUTTER_MAJOR_VERSION).$$(echo "$(CLUTTER_MINOR_VERSION)-1" | bc)
#PREV_RELEASE=$(CLUTTER_MAJOR_VERSION).$$(echo "$(CLUTTER_MINOR_VERSION)-1" | bc)
PREV_RELEASE=git-import
dist-hook:
@if test -d "$(srcdir)/.git"; \
@ -71,7 +72,7 @@ dist-hook:
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.0..$$to ) > ChangeLog.tmp \
$(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 ); \