X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fmutopia-rules.make;h=de5152e7d270752130e6e0208e95e583c4e14f6c;hb=61efe573dbab8a03dde412de1e534df7bb6db6c1;hp=74072fb462448c171732fa518b5593137ef11b88;hpb=30270f615f32a6b93e7b09bf55d1b8a7d7aad7ca;p=lilypond.git diff --git a/make/mutopia-rules.make b/make/mutopia-rules.make index 74072fb462..de5152e7d2 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 -dlog-file="'$(basename $(notdir $<)).log" -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)