38 lines
908 B
Bash
38 lines
908 B
Bash
export mgwbuildroot=$HOME/projects/gtk-win-build
|
|
export mgwpythondotver=2.7
|
|
|
|
export mgwpythonver=`echo $mgwpythondotver | sed 's/[.]//'`
|
|
|
|
export mgwdir_s=$mgwdir
|
|
export mgwdir=`cd $mgwdir && pwd`
|
|
|
|
if [ -z "$mgwconfig" ]; then
|
|
export mgwconfig=release
|
|
fi
|
|
|
|
case "$1" in
|
|
--debug)
|
|
mgwconfig=debug
|
|
shift
|
|
;;
|
|
--release)
|
|
mgwconfig=release
|
|
shift
|
|
;;
|
|
esac
|
|
|
|
export mgwjhbuildsrcdir=$mgwbuildroot/jhbuild
|
|
export mgwjhbuilddir=$mgwbuildroot/jhbuild-bin
|
|
|
|
export mgwdestdir=$mgwbuildroot/bdist-$mgwconfig
|
|
|
|
export mgwbuilddir=$mgwbuildroot/$mgwconfig
|
|
export mgwbuilddir_s=$mgwbuildroot/$mgwconfig
|
|
export mgwsourcedir=$mgwbuilddir/source
|
|
export mgwtargetdir=$mgwbuilddir/target
|
|
export mgwsourcedir_s=$mgwbuilddir_s/source
|
|
export mgwtargetdir_s=$mgwbuilddir_s/target
|
|
|
|
export mgwpythoninstdir=$HOME/.wine/drive_c/Python$mgwpythonver
|
|
export mgwpythonsystem32dir=$HOME/.wine/drive_c/windows/system32
|