projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make ETL-config a wrapper around pkg-config. Patch by Ralf Corsepius <rc040203@freene...
[synfig.git]
/
synfig-studio
/
trunk
/
win32build.sh
diff --git
a/synfig-studio/trunk/win32build.sh
b/synfig-studio/trunk/win32build.sh
index
385c17c
..
3e59f01
100755
(executable)
--- a/
synfig-studio/trunk/win32build.sh
+++ b/
synfig-studio/trunk/win32build.sh
@@
-1,11
+1,23
@@
#!/bin/sh
#!/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 ] || ./bootstrap || 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