]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/mutopia-rules.make
* make/mutopia-rules.make ($(outdir)/%.png $(outdir)/%.pdf $(outdir)/%.ly $(outdir...
[lilypond.git] / make / mutopia-rules.make
index 23887b901c61acb09e03c518de03ad14ffaabf27..a4c287cb82c2f452dfe06c8f6b2ab512639e736d 100644 (file)
@@ -1,31 +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
+$(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) $(ABC2LY) --strict -o $@ $< 
 
+# hmm. notdir builds srcdir builds? 
+$(outdir)/%.png $(outdir)/%.pdf $(outdir)/%.ly $(outdir)/%.ps: $(outdir)/%.ly
+       cd $(outdir); $(LILYPOND) --pdf --png -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
-       sh $(depth)/scripts/ly2dvi.sh -S $(topdir) -o $(outdir)  $< 
-       -mv $(basename $<).midi $(outdir)
 
-$(outdir)/%.dvi: %.fly
-       sh $(depth)/scripts/ly2dvi.sh -S $(topdir) -o $(outdir)  $< 
-       -mv $(basename $<).midi $(outdir)