X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fmutopia-targets.make;h=dab3f46d05c76630b3a6856dbe0c85fe51f3e285;hb=89006169468f47d1fece73a935ca6c1b1f26f481;hp=8fd98809577ecb3999512695b462c4abaf01232a;hpb=a6193f6f613e0b2ff519b804d28f99fcd6ec9b92;p=lilypond.git diff --git a/make/mutopia-targets.make b/make/mutopia-targets.make index 8fd9880957..dab3f46d05 100644 --- a/make/mutopia-targets.make +++ b/make/mutopia-targets.make @@ -1,17 +1,57 @@ +include $(stepdir)/www-targets.make + + +.PHONY: download mutopia png ps scores tar + +.PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps +.PRECIOUS: $(outdir)-letter/%.dvi $(outdir)-letter/%.ps + all: $(OUT_FILES) -local-WWW: $(ly_examples) $(fly_examples) $(ps_examples) $(png_examples) -# (cd $(outdir); $(PYTHON) ../$(buildscripts)/mutopia-index.py --prefix=../ --suffix=/$(outdir) $(html_subdirs) $(all_examples)) -# echo $^ > $(depth)/wwwlist -# $(footify) $(outdir)/index.html +# we want dvi_examples as well, because they get thrown away otherwise +# incurring another costly lilypond run. +local-WWW: $(ly_examples) $(pdf_examples) $(png_examples) + +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-web: - $(MAKE) CONFIGSUFFIX=www local-WWW +local-mutopia: + $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter) -convert-mudela: local-convert-mudela +mutopia: local-mutopia $(LOOP) -local-convert-mudela: - $(PYTHON) $(depth)/scripts/convert-mudela.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\ +"\ +# + +