]> git.donarmstrong.com Git - lilypond.git/blob - make/mutopia-rules.make
release: 1.5.44
[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         ln -s $(name-stem)-page1.gif $@
7
8 $(outdir)/%.png: $(outdir)/%.ps
9         sh $(PS_TO_PNGS) $<
10         -mv $(name-stem)-page*.png $(outdir)/
11         ln -s $(name-stem)-page1.png $@
12
13 $(outdir)/%.ly.txt: %.ly
14         ln -f $< $@
15
16 $(outdir)/%.ly.txt: $(outdir)/%.ly
17         cp -f $< $@
18
19 $(outdir)/%.ly.txt: %.abc
20 #which file to show here -- abc seems more cute?
21         ln -f $< $@
22
23 $(outdir)/%.ly: %.abc
24         $(PYTHON) $(ABC2LY) --strict -o $@ $< 
25
26 $(outdir)/%.dvi: $(outdir)/%.ly
27         $(PYTHON) $(LY2DVI) --output=$@ --dependencies $< 
28
29 # don't junk intermediate .dvi files.  They're easier to view than
30 # .ps or .png
31 .PRECIOUS: $(outdir)/%.dvi
32
33 $(outdir)/%.dvi: %.ly
34         $(PYTHON) $(LY2DVI) --output=$@ --dependencies $< 
35
36
37 $(outdir)/%.pdf: $(outdir)/%.dvi
38         dvips -u lilypond.map -o $@.pdfps  -Ppdf $<
39         ps2pdf $@.pdfps $@
40
41 $(outdir)-$(PAPERSIZE)/%.dvi: %.ly
42         $(PYTHON) $(LY2DVI) --output=$@ --dependencies --set=papersize=$(PAPERSIZE) $< 
43
44