Generate the ChangeLog at bootstrap time, add a ChangeLog Makefile target
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 10 Jun 2007 20:17:38 +0000 (20:17 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 10 Jun 2007 20:17:38 +0000 (20:17 +0000)
git-svn-id: http://svn.voria.com/code@506 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/Makefile.am
synfig-studio/trunk/bootstrap

index fa29cd2..27d0fbd 100644 (file)
@@ -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
index e3283bf..1e66948 100755 (executable)
@@ -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