]> git.donarmstrong.com Git - lilypond.git/blob - buildscripts/lilypond.sh
release: 1.3.1
[lilypond.git] / buildscripts / lilypond.sh
1 #!/bin/sh
2 # via scm wrapper
3
4 foo=lilypond.$$
5 trap "rm $foo" 1 2 15
6 touch lilypond.$$
7
8 $LILYPONDPREFIX/lily/out/lilypond -f scm $*
9 scm=`find . -maxdepth 1 -cnewer $foo -and -name '*.scm'`
10 for i in $scm; do
11         dir=`dirname $i`
12         base=`basename $i .scm`
13         file=$dir/$base.tex
14         rm -f $file
15         guile -s $i > $file
16 done
17 rm -f $scm
18 rm $foo