]> git.donarmstrong.com Git - lilypond.git/blob - make/mutopia-rules.make
($(addprefix $(outdir)/,$(LYM4_FILES):
[lilypond.git] / make / mutopia-rules.make
1
2
3 $(outdir)/%.png: $(outdir)/%.ps
4         gs -sDEVICE=pnggray -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sOutputFile="$(name-stem)-page%d.png" -r90 -dNOPAUSE $< -c quit
5         -mv $(name-stem)-page*.png $(outdir)/
6         rm -f $@
7         ln -s $(name-stem)-page1.png $@
8
9 $(outdir)/%.ly.txt: %.ly
10         ln -f $< $@
11
12 $(outdir)/%.ly.txt: $(outdir)/%.ly
13         cp -f $< $@
14
15 $(outdir)/%.ly.txt: %.abc
16 #which file to show here -- abc seems more cute?
17         ln -f $< $@
18
19 $(outdir)/%.ly: %.abc
20         $(PYTHON) $(ABC2LY) --strict -o $@ $< 
21
22 $(outdir)/%.ps: $(outdir)/%.ly
23         $(PYTHON) $(LY2DVI) --output=$@ $<  
24
25 $(outdir)/%.ps: %.ly
26         $(PYTHON) $(LY2DVI) --output=$@ $<  
27
28 $(outdir)/%.pdf: $(outdir)/%.ps
29         ps2pdf -sPAPERSIZE=a4 $< $@
30
31