]> git.donarmstrong.com Git - lilypond.git/blob - bin/doos-dist.sh
partial: 1.0.1.jcn
[lilypond.git] / bin / doos-dist.sh
1 #!/bin/sh
2 # doos-dist.sh --- make a windoze distribution
3
4 latest=lilypond-`show-latest -p`
5 { cd $LILYPOND_SOURCEDIR; cd ..; 
6 export LILYPOND_ROOTDIR=`pwd` }
7
8 if [ ! -e $LILYPOND_ROOTDIR/doos/zip ]; then
9         doo mkdir -p $LILYPOND_ROOTDIR/doos/zip
10 fi
11
12 set -x
13
14 cd $LILYPOND_ROOTDIR/doos || exit 1
15
16 rm -rf lilypond-*
17
18 tar xzf $LILYPOND_ROOTDIR/releases/$latest.tar.gz || exit 1
19 cd $latest
20
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
23
24 make
25 make doosdist
26
27 ln out/$latest.exe.zip $LILYPOND_ROOTDIR/doos/zip
28