X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fmutopia-targets.make;h=deaf2408616932a5375971f2ae79596ba559d91d;hb=01423a6e8f18d5735a37cdaac940a4038aa7ac33;hp=5c7011da3d8e43d3db48975237825d2d646288e2;hpb=0713e9256dc1f35299ce716cf29ddeab4ebca93b;p=lilypond.git diff --git a/make/mutopia-targets.make b/make/mutopia-targets.make index 5c7011da3d..deaf240861 100644 --- a/make/mutopia-targets.make +++ b/make/mutopia-targets.make @@ -1,23 +1,18 @@ +.PHONY: download mutopia png ps scores tar -.PHONY: 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) -local-web: - $(MAKE) conf=www local-WWW - -convert-ly: local-convert-ly - $(LOOP) +all: $(OUT_FILES) -local-convert-ly: - $(PYTHON) $(CONVERT_LY) -e *ly +local-WWW-1: $(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) @@ -26,17 +21,31 @@ 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) + mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz) -mutopia: - $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter) +local-clean: local-letter-clean + +local-letter-clean: + rm -f $(outdir)-letter/* + -local-help: +local-help: local-mutopia-help + +local-mutopia-help: @echo -e "\ - convert-ly convert all LilyPond sources\n\ + 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\ "\ # + +