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

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

index 35478a9..81e15b2 100644 (file)
@@ -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
index 12df5b4..d70827b 100755 (executable)
@@ -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