X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fwin32build.sh;fp=synfig-studio%2Ftrunk%2Fwin32build.sh;h=f08fbe9f4be8117783fe492e3f6110b94dc95f3e;hb=3ecff8e330dc3b5e03b06c70c79b5e940cd296c9;hp=385c17cf01bb5250cb480ecc8e8da8bcf7716223;hpb=67567152a10173ae01e29eeda32267160c3c96c4;p=synfig.git diff --git a/synfig-studio/trunk/win32build.sh b/synfig-studio/trunk/win32build.sh index 385c17c..f08fbe9 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="--disable-optimization --disable-debug" -./configure --host=mingw32 --prefix=C:/PROGRA~1/Synfig $OPT_FLAGS -make clean +BUILDDIR=win32build + +[ -e configure ] || ./bootstrap || exit 1 + + [ -d $BUILDDIR ] && rm -fr $BUILDDIR + +mkdir $BUILDDIR + +cd $BUILDDIR + +../configure $OPTIONS || exit 1 + +make -j2 +#make package make installer