From: pabs Date: Sun, 10 Jun 2007 20:17:02 +0000 (+0000) Subject: Generate the ChangeLog at bootstrap time, make the ChangeLog Makefile target more... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8d0146a6ee39261195586474dc31712b6cd50e5e;p=synfig.git Generate the ChangeLog at bootstrap time, make the ChangeLog Makefile target more robust git-svn-id: http://svn.voria.com/code@505 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/Makefile.am b/synfig-core/trunk/Makefile.am index 35478a9..81e15b2 100644 --- a/synfig-core/trunk/Makefile.am +++ b/synfig-core/trunk/Makefile.am @@ -42,9 +42,9 @@ stats: -@du -hcs $(shell find $(top_srcdir)/src -name '*.[ch]*') | $(GREP) total -@echo -ChangeLog: .svn +ChangeLog: -svn update - svn2cl --include-rev + svn2cl --include-rev || touch ChangeLog #tagstable: # $(CVS) tag -F stable diff --git a/synfig-core/trunk/bootstrap b/synfig-core/trunk/bootstrap index 12df5b4..d70827b 100755 --- a/synfig-core/trunk/bootstrap +++ b/synfig-core/trunk/bootstrap @@ -159,6 +159,10 @@ cat NEWS >> "$PACKAGE.spec" output Creating configure.in from configure.ac... sed "$SED_SCRIPT" < "$CONFIG_DIR/configure.ac" > configure.in; +output Generating ChangeLog from SVN +if test x != "x$VERSION_REL" ; then export REVISION="--revision $VERSION_REL" ; fi +test -f ChangeLog || svn2cl --include-rev $REVISION $SVN_REPOSITORY/trunk/ || touch ChangeLog + output Setting up build environment... # Set the shell to output what we are doing