X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fbootstrap;h=8f3ad995271b2c4e9e549763af223e6c27d16e12;hb=3baa4dddbc86fad8a40e89fb4415c0cd68a79da7;hp=b4915b49263aa9020ccf1030af9092144d4892bb;hpb=58748f175cc00939b16dac1ae75334f030d181f8;p=synfig.git diff --git a/synfig-core/trunk/bootstrap b/synfig-core/trunk/bootstrap index b4915b4..8f3ad99 100755 --- a/synfig-core/trunk/bootstrap +++ b/synfig-core/trunk/bootstrap @@ -1,7 +1,7 @@ #! /bin/sh # # Synfig Bootstrap Script -# $Id: bootstrap,v 1.2 2005/01/10 07:40:26 darco Exp $ +# $Id$ # # This script creates the configure script and Makefile.in files, # and also fixes a few things in both to ensure a smooth build @@ -58,7 +58,7 @@ cleanup () { rm -fr config.cache autom4te*.cache configure.in $TEMPFILE } -output Prepairing build environment for $PACKAGE-$VERSION... +output Preparing build environment for $PACKAGE-$VERSION... # Look for the CVS directory. If we don't find it, we need to # ask the user if they know what they are doing. @@ -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 @@ -170,7 +174,7 @@ set -x aclocal -I "$CONFIG_DIR" $ACLOCAL_FLAGS && autoheader && autoconf -o configure && - automake --foreign --add-missing --copy --include-deps && + automake --force-missing --add-missing --include-deps && true ) || { @@ -190,11 +194,11 @@ set +x set -x ( cd libltdl && - ( echo "AC_CONFIG_AUX_DIR(../config)" >> configure.[ai][cn] ) && + ( echo "AC_CONFIG_AUX_DIR(../config)" >> configure.* ) && aclocal -I "../$CONFIG_DIR" && autoheader && autoconf && - automake --foreign --add-missing --copy + automake --force-missing --add-missing --include-deps ) || { # Something went wrong...