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

ETL/trunk/Makefile.am
ETL/trunk/bootstrap

index ae7a086..85804f4 100644 (file)
@@ -46,9 +46,9 @@ 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
+ChangeLog:
        -svn update
-       svn2cl --include-rev
+       svn2cl --include-rev || touch ChangeLog
 
 listfixmes:
        -@echo
index 5d887eb..549b442 100755 (executable)
@@ -132,6 +132,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