X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2Fbootstrap;h=eba4766cdfd6b56ba3e9951dbf5d287a8fc03062;hb=f9cb2769597afee48e8e38ffd936d9dc14167bd8;hp=b84328614aa291625595b68d433928021defc305;hpb=7dbd0a7bc3f2cfa20f6b25f21c9d28fb9a7bf518;p=synfig.git diff --git a/ETL/trunk/bootstrap b/ETL/trunk/bootstrap index b843286..eba4766 100755 --- a/ETL/trunk/bootstrap +++ b/ETL/trunk/bootstrap @@ -1,7 +1,7 @@ #! /bin/sh # # Extended Template Library Bootstrap Script -# $Id: bootstrap,v 1.2 2005/01/04 01:54:14 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 @@ -15,7 +15,7 @@ cd "$(dirname $0)" # Environment Variables BOOTSTRAP_NAME="$(basename $0)" -CONFIG_DIR="$(pwd)/config" +CONFIG_DIR="config" [ -x /bin/cygpath ] && CONFIG_DIR="`cygpath -m -s "$CONFIG_DIR"`" [ -x /bin/cygpath ] && CONFIG_DIR="`cygpath -u "$CONFIG_DIR"`" @@ -35,6 +35,7 @@ s/@VERSION_MAJ@/$VERSION_MAJ/g; s/@VERSION_MIN@/$VERSION_MIN/g; s/@VERSION_REV@/$VERSION_REV/g; s/@VERSION_REL@/$VERSION_REL/g; +s'@SVN_REPOSITORY@'$SVN_REPOSITORY'g; s/@CFLAGS@//g; " @@ -121,12 +122,12 @@ sed "$SED_SCRIPT" < "$CONFIG_DIR/$FILENAME.in" > $FILENAME; output Renaming pkgconfig.pc to $PACKAGE_TARNAME.pc.in... mv pkgconfig.pc "$PACKAGE_TARNAME.pc.in" -output Renaming project.spec to $PACKAGE-$VERSION.spec... -mv project.spec "$PACKAGE-$VERSION.spec" +output Renaming project.spec to $PACKAGE.spec... +mv project.spec "$PACKAGE.spec" -output Finishing up $PACKAGE-$VERSION.spec... -echo %changelog >> "$PACKAGE-$VERSION.spec" -cat ChangeLog >> "$PACKAGE-$VERSION.spec" +output Finishing up $PACKAGE.spec... +echo %changelog >> "$PACKAGE.spec" +cat NEWS >> "$PACKAGE.spec" output Creating configure.in from configure.ac... sed "$SED_SCRIPT" < "$CONFIG_DIR/configure.ac" > configure.in; @@ -212,4 +213,4 @@ echo $BOOTSTRAP_NAME: Complete. cleanup; # Move back to the current directory -cd $CURR_DIR +cd "$CURR_DIR"