Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-studio / trunk / win32build.sh
index f08fbe9..b78dbb9 100755 (executable)
@@ -1,23 +1,23 @@
 #!/bin/sh
 
-#OPT_FLAGS="--disable-optimization --disable-debug --enable-license-key"
-OPTIONS="--disable-optimization --disable-debug"
+OPTIONS=""
+OPTIONS="$OPTIONS --disable-optimization"
+#OPTIONS="$OPTIONS --disable-debug"
+OPTIONS="$OPTIONS --enable-debug"
 
 
 BUILDDIR=win32build
 
-[ -e configure ] || ./bootstrap || exit 1
+[ -e configure ] || autoreconf --force --install || exit 1
 
- [ -d $BUILDDIR ] && rm -fr $BUILDDIR
+[ -d $BUILDDIR ] && rm -fr $BUILDDIR
 
 mkdir $BUILDDIR
 
 cd $BUILDDIR
 
-../configure $OPTIONS || exit 1
+../configure --host=mingw32 --prefix=C:/PROGRA~1/Synfig $OPTIONS || exit 1
 
-make -j2
-#make package
+make package
 
-make installer