./config.status win32inst.nsi
installer: all win32inst.nsi
- convert images/about_dialog.png images/about_dialog.bmp
+# convert images/about_dialog.png images/about_dialog.bmp
make -C images sif_icon.ico
makensis win32inst.nsi
#!/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