X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fmobilegtd.git;a=blobdiff_plain;f=build%2Fbuild.sh;fp=build%2Fbuild.sh;h=01219195723bfc653739d6a1fa080ee6bf33fea0;hp=0000000000000000000000000000000000000000;hb=6cceff291f1cc88878e819cda7cd74abca520990;hpb=388b56b12cc8e7cc17b33efdcb108aa279be3b1b diff --git a/build/build.sh b/build/build.sh new file mode 100755 index 0000000..0121919 --- /dev/null +++ b/build/build.sh @@ -0,0 +1,12 @@ +#!/bin/sh +if [ ! -d src ]; then + echo "You should call this script from the top level checkout (e.g., call it as ./build/build.sh)" + exit 1 +fi +[ -e "./C:" ] && echo "Move ./C: out of the way first" && exit 1 +# Move C: out of the source dir (it breaks installation of the resulting +# .sis). This directory is created when running MobileGTD using a normal +# python installation and pys60-compat. +[ -e "src/C:" ] && mv "src/C:" "./C:" +ensymble py2sis src --uid=0xA0008CDD --vendor="Martin Mauch" --appname "MobileGTD" --caption="MobileGTD unstable" --caps=ReadUserData+WriteUserData MobileGTD.sis +[ -e "./C:" ] && mv "./C:" "src/C:"