X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fwin32build.sh;h=b78dbb9a9439038e16837e57a347c49dbef8e39a;hb=9c5b887cee5a8100332e7e992df34a573066b917;hp=385c17cf01bb5250cb480ecc8e8da8bcf7716223;hpb=67567152a10173ae01e29eeda32267160c3c96c4;p=synfig.git diff --git a/synfig-studio/trunk/win32build.sh b/synfig-studio/trunk/win32build.sh index 385c17c..b78dbb9 100755 --- a/synfig-studio/trunk/win32build.sh +++ b/synfig-studio/trunk/win32build.sh @@ -1,11 +1,23 @@ #!/bin/sh -#OPT_FLAGS="--disable-optimization --disable-debug --enable-license-key" -OPT_FLAGS="--disable-optimization --disable-debug --disable-license-key" +OPTIONS="" +OPTIONS="$OPTIONS --disable-optimization" +#OPTIONS="$OPTIONS --disable-debug" +OPTIONS="$OPTIONS --enable-debug" -./configure --host=mingw32 --prefix=C:/PROGRA~1/Synfig $OPT_FLAGS -make clean +BUILDDIR=win32build + +[ -e configure ] || autoreconf --force --install || exit 1 + +[ -d $BUILDDIR ] && rm -fr $BUILDDIR + +mkdir $BUILDDIR + +cd $BUILDDIR + +../configure --host=mingw32 --prefix=C:/PROGRA~1/Synfig $OPTIONS || exit 1 + +make package -make installer