X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fmutopia-rules.make;h=82bc3ee13ce6c978fa99e3ea922f3942bf2a6519;hb=HEAD;hp=74072fb462448c171732fa518b5593137ef11b88;hpb=30270f615f32a6b93e7b09bf55d1b8a7d7aad7ca;p=lilypond.git diff --git a/make/mutopia-rules.make b/make/mutopia-rules.make index 74072fb462..82bc3ee13c 100644 --- a/make/mutopia-rules.make +++ b/make/mutopia-rules.make @@ -1,31 +1,18 @@ +$(outdir)/%.ly: %.ly + cp $< $@ +$(outdir)/%.ily: %.ily + cp $< $@ -$(outdir)/%.gif: $(outdir)/%.ps - sh $(buildscripts)/ps-to-gifs.sh $< - -mv $(name-stem)-page*.gif $(outdir)/ - touch $@ +$(outdir)/%.ly: %.abc +#which file to show here -- abc seems more cute? + cp $< $@ -$(outdir)/%.png: $(outdir)/%.ps - sh $(buildscripts)/ps-to-pngs.sh $< - -mv $(name-stem)-page*.png $(outdir)/ - touch $@ +$(outdir)/%.ly: %.abc + $(PYTHON) $(ABC2LY) --strict -o $@ $< -$(outdir)/%.ly.txt: %.ly - ln -f $< $@ +# hmm. notdir builds src-dir builds? +$(outdir)/%.png $(outdir)/%.pdf $(outdir)/%.ly $(outdir)/%.ps: $(outdir)/%.ly $(INIT_LY_SOURCES) $(SCHEME_SOURCES) + 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)/%.fly.txt: %.fly - ln -f $< $@ - - - -# don't junk intermediate .dvi files. They're easier to view than -# .ps or .gif -.PRECIOUS: $(outdir)/%.dvi - -$(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)