X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fmutopia-rules.make;h=4d0ae695485a0e2b92984f47ad3d4a02bece3bc6;hb=3cf78860f1c419ff2cc1a54af0956b0fce2f108b;hp=22d9e63c676bf8727d760b40ed554ffd71ef1cc9;hpb=35b22a3ae58b3b8694ce65e374041643ff124b70;p=lilypond.git diff --git a/make/mutopia-rules.make b/make/mutopia-rules.make index 22d9e63c67..4d0ae69548 100644 --- a/make/mutopia-rules.make +++ b/make/mutopia-rules.make @@ -1,31 +1,15 @@ +$(outdir)/%.ly: %.ly + cp $< $@ - -$(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 +$(outdir)/%.ly: %.abc +#which file to show here -- abc seems more cute? ln -f $< $@ -$(outdir)/%.fly.txt: %.fly - ln -f $< $@ - - - -# don't junk intermediate .dvi files. They're easier to view than -# .ps or .gif -.PRECIOUS: $(outdir)/%.dvi +$(outdir)/%.ly: %.abc + $(PYTHON) $(ABC2LY) --strict -o $@ $< -$(outdir)/%.dvi: %.ly - $(PYTHON) $(depth)/$(scripts)/ly2dvi.py -o $(outdir) $< - -mv $(basename $<).midi $(outdir) +# hmm. notdir builds src-dir builds? +$(outdir)/%.png $(outdir)/%.pdf $(outdir)/%.ly $(outdir)/%.ps: $(outdir)/%.ly + cd $(outdir); $(LILYPOND_BINARY) --pdf --png -ddump-signatures -danti-alias-factor=2 -ddelete-intermediate-files -dno-point-and-click -I $(call absdir,$(src-dir))/ $(notdir $<) + touch $(outdir)/$(basename $(notdir $<)).png -$(outdir)/%.dvi: %.fly - $(PYTHON) $(depth)/$(scripts)/ly2dvi.py -o $(outdir) $< - -mv $(basename $<).midi $(outdir)