X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fmutopia-targets.make;h=0d49357e46bb85bcce3a790057f138058119c809;hb=HEAD;hp=994418db1008c2cc6cee01ac2ea4f3913c897fbc;hpb=649311a39c4984db6594bd86c12f4df52f078af8;p=lilypond.git diff --git a/make/mutopia-targets.make b/make/mutopia-targets.make index 994418db10..0d49357e46 100644 --- a/make/mutopia-targets.make +++ b/make/mutopia-targets.make @@ -1,29 +1,11 @@ +.PHONY: download mutopia png ps scores tar -.PHONY: mutopia png ps scores tar -.PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps +all: -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) - -local-convert-ly: - $(PYTHON) $(CONVERT_LY) -e *ly - -# -# Also clean hand-compiled stuff in cwd -# -localclean: local-auto-gen-clean - -local-auto-gen-clean: - rm -f `grep -l 'Generated automacially by' *` - rm -f *.dvi *.png +ifeq ($(out),www) +local-WWW-1: $(ly_examples) $(pdf_examples) $(png_examples) +endif tar: mkdir -p $(outdir)/$(tarball) @@ -38,42 +20,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 -# -# and -book targets only available through ly.make template makefile; -# too scary to install in LilyPonds make yet. -# -# +local-letter-clean: + rm -f $(outdir)-letter/* -ifeq (0,1) -# -# Timothy's booklet -# -$(outdir)/%-book.ps: $(outdir)/%.ps - psbook $< $<.1 - pstops '2:0L(11.45in,0.25in)+1L(11.45in,5.6in)' $<.1 $@ - rm -f $<.1 -# -# Catch-all target: type `make foo' to make out/foo.ps, -# or make `foo-book' to make out/foo-book.ps -# -%: $(outdir)/%.ps - @echo Making $@ from $< -endif +local-help: local-mutopia-help -local-help: +local-mutopia-help: @echo -e "\ update $(outdir)/.ps\n\ -book update booklet $(outdir)/-book.ps\n\ - convert-ly convert all LilyPond sources\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\ "\ # + +