X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fmutopia-targets.make;h=4eeb80ed0c32a9768f3438cc88a3172d14c7ff3e;hb=d2659648f9ed7e912bd0acc52f485e163f6b8061;hp=4a759813c51cb9b57cc0b73e821d4544414ea243;hpb=8da6cef580cce3365b219f6aca429b434cb60fcf;p=lilypond.git diff --git a/make/mutopia-targets.make b/make/mutopia-targets.make index 4a759813c5..4eeb80ed0c 100644 --- a/make/mutopia-targets.make +++ b/make/mutopia-targets.make @@ -1,16 +1,53 @@ +.PHONY: download mutopia png ps scores tar +.PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps +.PRECIOUS: $(outdir)-letter/%.ps -all: $(OUT_FILES) -local-WWW: $(ly_examples) $(fly_examples) $(ps_examples) $(png_examples) -# (cd $(outdir); $(PYTHON) ../$(buildscript-dir)/mutopia-index.py --prefix=../ --suffix=/$(outdir) $(html_subdirs) $(all_examples)) -# $(footify) $(outdir)/index.html +all: -local-web: - $(MAKE) conf=www local-WWW +ifeq ($(out),www) +local-WWW-1: $(ly_examples) $(pdf_examples) $(png_examples) +endif -convert-ly: local-convert-ly +tar: + mkdir -p $(outdir)/$(tarball) + cp -p *.ly $(outdir)/$(tarball) + cd $(outdir) && tar czf $(tarball).tar.gz $(tarball) + rm -rf $(outdir)/$(tarball) + +png: $(png_examples) + +ps: $(ps_examples) + +scores: $(score_ps) + $(MAKE) ps_examples="$<" ps + +local-mutopia: + $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW-1 $(mutopia-letter) + +mutopia: local-mutopia $(LOOP) -local-convert-ly: - $(PYTHON) $(script-dir)/convert-ly.py -e *ly +mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz) + +local-clean: local-letter-clean + +local-letter-clean: + rm -f $(outdir)-letter/* + + +local-help: local-mutopia-help + +local-mutopia-help: + @echo -e "\ + update $(outdir)/.ps\n\ + -book update booklet $(outdir)/-book.ps\n\ + mutopia update PNGs, PostScript a4 and letter of all mutopia-examples\n\ + png update PNGs of all examples\n\ + ps update PostScript of all examples\n\ + scores update PostScript of all scores\n\ +"\ +# + +