summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/runly
blob: b52c1ebb8595769f9ba796123f87d991cc3b4b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash 
#
# $Id: runly,v 1.2 2006/08/21 08:26:03 michel Exp $
#
#et -x

if test $? = 1
then 
 echo "WRONG number of args!"
 exit 1
fi

F=`basename $1 .ly`

if test -r $F.eps
then
 echo $F.eps already made
else
 lilypond --backend=eps -deps-font-include -dno-gs-font-load $F.ly
 ./cleaneps $F.eps
 rm -f $F-1.eps $F.eps.pdf $F-systems.*
fi