]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/mutopia-rules.make
* scm/page-layout.scm (plain-header): add printpagenumber boolean
[lilypond.git] / make / mutopia-rules.make
index a86e9c7e4229e9c98a266bc37a992059c20b5283..b914429ea0c4cfd30f2c5f83d832e8bcfe5a686e 100644 (file)
@@ -13,9 +13,10 @@ $(outdir)/%.ly.txt: %.abc
 $(outdir)/%.ly: %.abc
        $(PYTHON) $(ABC2LY) --strict -o $@ $< 
 
-$(outdir)/%.png $(outdir)/%.pdf $(outdir)/%.ly $(outdir)/%.ps: $(outdir)/%.ly
 # hmm. notdir builds srcdir builds? 
-       cd $(outdir); $(LILYPOND) --pdf --ps --png $(notdir $<)
+$(outdir)/%.png $(outdir)/%.pdf $(outdir)/%.ly $(outdir)/%.ps: $(outdir)/%.ly
+       cd $(outdir); $(LILYPOND) --pdf --ps --png -I $(shell pwd)/ $(notdir $<)
+       touch $(outdir)/$(basename $(notdir $<)).png
 
 $(outdir)/%.ly: %.ly
        cp $< $@