From 69e4052a31c5ba95a0fd2d8ba3b96ed7be7c2cbc Mon Sep 17 00:00:00 2001 From: pabs Date: Sun, 10 Jun 2007 20:17:38 +0000 Subject: [PATCH] Generate the ChangeLog at bootstrap time, add a ChangeLog Makefile target git-svn-id: http://svn.voria.com/code@506 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/Makefile.am | 4 ++++ synfig-studio/trunk/bootstrap | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/synfig-studio/trunk/Makefile.am b/synfig-studio/trunk/Makefile.am index fa29cd2..27d0fbd 100644 --- a/synfig-studio/trunk/Makefile.am +++ b/synfig-studio/trunk/Makefile.am @@ -43,6 +43,10 @@ tagrelease: $(SVN) mkdir $(SVN_REPOSITORY)/tags/$(TAG) -m "Release Tag: Making directory" $(SVN) copy $(top_srcdir) $(SVN_REPOSITORY)/tags/$(TAG) -m "Release $(TAG)" +ChangeLog: + -svn update + svn2cl --include-rev || touch ChangeLog + stats: -@echo -@echo -- Stats diff --git a/synfig-studio/trunk/bootstrap b/synfig-studio/trunk/bootstrap index e3283bf..1e66948 100755 --- a/synfig-studio/trunk/bootstrap +++ b/synfig-studio/trunk/bootstrap @@ -156,6 +156,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 -- 2.7.4