]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/mutopia-rules.make
*** empty log message ***
[lilypond.git] / make / mutopia-rules.make
index b741023eaf75bdfc1bfb66e92aebb49b8a49768e..fd3507113139616691eea3cca1955d188deb1b9c 100644 (file)
@@ -1,40 +1,24 @@
 
 
-$(outdir)/%.gif: $(outdir)/%.ps
-       sh $(buildscripts)/ps-to-gifs.sh $<
-       -mv $(name-stem)-page*.gif $(outdir)/
-       touch $@
-
-$(outdir)/%.png: $(outdir)/%.ps
-       sh $(buildscripts)/ps-to-pngs.sh $<
-       -mv $(name-stem)-page*.png $(outdir)/
-       touch $@
-
 $(outdir)/%.ly.txt: %.ly
        ln -f $< $@
 
-$(outdir)/%.fly.txt: %.fly
-       ln -f $< $@
+$(outdir)/%.ly.txt: $(outdir)/%.ly
+       cp -f $< $@
 
 $(outdir)/%.ly.txt: %.abc
 #which file to show here -- abc seems more cute?
        ln -f $< $@
 
 $(outdir)/%.ly: %.abc
-       $(PYTHON) $(depth)/scripts/abc2ly.py -o $@ $< 
+       $(PYTHON) $(ABC2LY) --strict -o $@ $< 
 
-$(outdir)/%.dvi: $(outdir)/%.ly
-       $(PYTHON) $(depth)/scripts/ly2dvi.py -o $(outdir)  $< 
-       -mv $(basename $(<F))*.midi $(outdir)
+# hmm. notdir builds srcdir builds? 
+$(outdir)/%.png $(outdir)/%.pdf $(outdir)/%.ly $(outdir)/%.ps: $(outdir)/%.ly
+       cd $(outdir); $(LILYPOND) --pdf --png -danti-alias-factor=2 -ddelete-intermediate-files -dno-point-and-click -I $(shell pwd)/ $(notdir $<)
+       touch $(outdir)/$(basename $(notdir $<)).png
 
-# don't junk intermediate .dvi files.  They're easier to view than
-# .ps or .gif
-.PRECIOUS: $(outdir)/%.dvi
+$(outdir)/%.ly: %.ly
+       cp $< $@ 
 
-$(outdir)/%.dvi: %.ly
-       $(PYTHON) $(depth)/scripts/ly2dvi.py -o $(outdir)  $< 
-       -mv $(basename $<)*.midi $(outdir)
 
-$(outdir)/%.dvi: %.fly
-       $(PYTHON) $(depth)/scripts/ly2dvi.py -o $(outdir)  $< 
-       -mv $(basename $<)*.midi $(outdir)