]> git.donarmstrong.com Git - lilypond.git/blob - make/mutopia-rules.make
patch::: 1.3.127.jcn4
[lilypond.git] / make / mutopia-rules.make
1
2
3 $(outdir)/%.gif: $(outdir)/%.ps
4         sh $(buildscript-dir)/ps-to-gifs.sh $<
5         -mv $(name-stem)-page*.gif $(outdir)/
6         touch $@
7
8 $(outdir)/%.png: $(outdir)/%.ps
9         sh $(buildscript-dir)/ps-to-pngs.sh $<
10         -mv $(name-stem)-page*.png $(outdir)/
11         touch $@
12
13 $(outdir)/%.ly.txt: %.ly
14         ln -f $< $@
15
16 $(outdir)/%.ly.txt: %.abc
17 #which file to show here -- abc seems more cute?
18         ln -f $< $@
19
20 $(outdir)/%.ly: %.abc
21         $(PYTHON) $(script-dir)/abc2ly.py -o $@ $< 
22
23 $(outdir)/%.dvi: $(outdir)/%.ly
24         $(PYTHON) $(script-dir)/ly2dvi.py -o $(outdir) $< 
25         -mv $(basename $(<F))*.midi $(outdir)
26
27 # don't junk intermediate .dvi files.  They're easier to view than
28 # .ps or .gif
29 .PRECIOUS: $(outdir)/%.dvi
30
31 $(outdir)/%.dvi: %.ly
32         $(PYTHON) $(script-dir)/ly2dvi.py -o $(outdir)  $< 
33         -mv $(basename $<)*.midi $(outdir)
34
35 $(outdir)-$(PAPERSIZE)/%.dvi: %.ly
36         $(PYTHON) $(script-dir)/ly2dvi.py -o $(outdir)-$(PAPERSIZE) -p $(PAPERSIZE) $< 
37         -mv $(basename $<)*.midi $(outdir)-$(PAPERSIZE)
38
39 $(outdir)/%.dvi: %.fly
40         $(PYTHON) $(script-dir)/ly2dvi.py -o $(outdir)  $< 
41         -mv $(basename $<)*.midi $(outdir)