]> git.donarmstrong.com Git - lilypond.git/blob - make/mutopia-rules.make
patch::: 1.3.130.jcn4
[lilypond.git] / make / mutopia-rules.make
1
2
3 $(outdir)/%.gif: $(outdir)/%.ps
4         sh $(PS_TO_GIFS) $<
5         -mv $(name-stem)-page*.gif $(outdir)/
6         touch $@
7
8 $(outdir)/%.png: $(outdir)/%.ps
9         sh $(PS_TO_PNGS) $<
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) $(ABC2LY) -o $@ $< 
22
23 $(outdir)/%.dvi: $(outdir)/%.ly
24         $(PYTHON) $(LY2DVI) --outdir=$(outdir) --dependencies $< 
25         -mv $(basename $(<F))*.midi $(outdir)
26
27 # don't junk intermediate .dvi files.  They're easier to view than
28 # .ps or .png
29 .PRECIOUS: $(outdir)/%.dvi
30
31 $(outdir)/%.dvi: %.ly
32         $(PYTHON) $(LY2DVI) --outdir=$(outdir) --dependencies $< 
33         -mv $(basename $<)*.midi $(outdir)
34
35 $(outdir)-$(PAPERSIZE)/%.dvi: %.ly
36         $(PYTHON) $(LY2DVI) --outdir=$(outdir)-$(PAPERSIZE) --dependencies --papersize=$(PAPERSIZE) $< 
37         -mv $(basename $<)*.midi $(outdir)-$(PAPERSIZE)
38
39 $(outdir)/%.dvi: %.fly
40         $(PYTHON) $(LY2DVI) -o $(outdir)  $< 
41         -mv $(basename $<)*.midi $(outdir)