From 43c8bde58c265bc281f885ab80b9c07774e8667a Mon Sep 17 00:00:00 2001 From: pabs Date: Sun, 10 Jun 2007 20:16:20 +0000 Subject: [PATCH] Generate the ChangeLog at bootstrap time, make the ChangeLog Makefile target more robust git-svn-id: http://svn.voria.com/code@504 1f10aa63-cdf2-0310-b900-c93c546f37ac --- ETL/trunk/Makefile.am | 4 ++-- ETL/trunk/bootstrap | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ETL/trunk/Makefile.am b/ETL/trunk/Makefile.am index ae7a086..85804f4 100644 --- a/ETL/trunk/Makefile.am +++ b/ETL/trunk/Makefile.am @@ -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 diff --git a/ETL/trunk/bootstrap b/ETL/trunk/bootstrap index 5d887eb..549b442 100755 --- a/ETL/trunk/bootstrap +++ b/ETL/trunk/bootstrap @@ -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 -- 2.7.4