]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/mutopia-rules.make
* Documentation/topdocs/NEWS.texi: Add note about info docs with
[lilypond.git] / make / mutopia-rules.make
index 81b6b57fd41a1c17428d4bdb6ab11a877b3268b0..af73902b9719b4b0042c182038be6465894e9b4f 100644 (file)
@@ -1,13 +1,9 @@
 
 
-$(outdir)/%.gif: $(outdir)/%.ps
-       sh $(PS_TO_GIFS) $<
-       -mv $(name-stem)-page*.gif $(outdir)/
-       ln -s $(name-stem)-page1.gif $@
-
 $(outdir)/%.png: $(outdir)/%.ps
-       sh $(PS_TO_PNGS) $<
+       gs -sDEVICE=pnggray -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sOutputFile="$(name-stem)-page%d.png" -r90 -dNOPAUSE $< -c quit
        -mv $(name-stem)-page*.png $(outdir)/
+       rm -f $@
        ln -s $(name-stem)-page1.png $@
 
 $(outdir)/%.ly.txt: %.ly
@@ -35,10 +31,8 @@ $(outdir)/%.dvi: %.ly
 
 
 $(outdir)/%.pdf: $(outdir)/%.dvi
-       dvips -u lilypond.map -o $@.pdfps  -Ppdf $<
-       ps2pdf $@.pdfps $@
-
-       $(PYTHON) $(LY2DVI) --output=$@ --dependencies $< 
+       dvips $(DVIPS_FLAGS) -t $(DVIPS_PAPERSIZE) -o $@.pdfps $<
+       ps2pdf -sPAPERSIZE=$(DVIPS_PAPERSIZE) $@.pdfps $@
 
 $(outdir)-$(PAPERSIZE)/%.dvi: %.ly
        $(PYTHON) $(LY2DVI) --output=$@ --dependencies --set=papersize=$(PAPERSIZE) $<