From: Matthijs Kooijman Date: Thu, 22 Jul 2010 13:32:06 +0000 (+0200) Subject: Add build script for Linux. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fmobilegtd.git;a=commitdiff_plain Add build script for Linux. --- 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:"