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)/
7 ln -s $(name-stem)-page1.png $@
9 $(outdir)/%.ly.txt: %.ly
12 $(outdir)/%.ly.txt: $(outdir)/%.ly
15 $(outdir)/%.ly.txt: %.abc
16 #which file to show here -- abc seems more cute?
20 $(PYTHON) $(ABC2LY) --strict -o $@ $<
22 $(outdir)/%.dvi: $(outdir)/%.ly
23 $(PYTHON) $(LY2DVI) --output=$@ $<
25 # don't junk intermediate .dvi files. They're easier to view than
27 .PRECIOUS: $(outdir)/%.dvi
30 $(PYTHON) $(LY2DVI) --output=$@ $<
33 $(outdir)/%.pdf: $(outdir)/%.dvi
34 dvips $(DVIPS_FLAGS) -t $(DVIPS_PAPERSIZE) -o $@.pdfps $<
35 ps2pdf -sPAPERSIZE=$(DVIPS_PAPERSIZE) $@.pdfps $@
37 $(outdir)-$(PAPERSIZE)/%.dvi: %.ly
38 $(PYTHON) $(LY2DVI) --output=$@ --set=papersize=$(PAPERSIZE) $<