lilypond-1.0.8
[lilypond.git] / bin / doos-dist.sh
blobbaef3fc923788e5d5b64ed0ceff77d3807655217
1 #!/bin/sh
2 # doos-dist.sh --- make a windoze distribution
4 latest=lilypond-`show-latest -p`
5 { cd $LILYPOND_SOURCEDIR; cd ..;
6 export LILYPOND_ROOTDIR=`pwd` }
8 if [ ! -e $LILYPOND_ROOTDIR/doos/zip ]; then
9 doo mkdir -p $LILYPOND_ROOTDIR/doos/zip
12 set -x
14 cd $LILYPOND_ROOTDIR/doos || exit 1
16 rm -rf lilypond-*
18 tar xzf $LILYPOND_ROOTDIR/releases/$latest.tar.gz || exit 1
19 cd $latest
21 export PATH=/usr/doos/bin:$PATH
22 configure --host=i386-pc-linux --target=i386-pc-cygwin32 --prefix=/usr --enable-debugging --enable-printing --enable-checking
24 make
25 make doosdist
27 ln out/$latest.exe.zip $LILYPOND_ROOTDIR/doos/zip