Update for expressive.itely
[lilypond/mpolesky.git] / make / mutopia-targets.make
blob4a12833a556621119315215f2bdd2ad783abdebb
1 .PHONY: download mutopia png ps scores tar
3 .PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
4 .PRECIOUS: $(outdir)-letter/%.dvi $(outdir)-letter/%.ps
7 all: $(OUT_FILES)
9 # we want dvi_examples as well, because they get thrown away otherwise
10 # incurring another costly lilypond run.
11 local-WWW: $(ly_examples) $(pdf_examples) $(png_examples)
13 tar:
14 mkdir -p $(outdir)/$(tarball)
15 cp -p *.ly $(outdir)/$(tarball)
16 cd $(outdir) && tar czf $(tarball).tar.gz $(tarball)
17 rm -rf $(outdir)/$(tarball)
19 png: $(png_examples)
21 ps: $(ps_examples)
23 scores: $(score_ps)
24 $(MAKE) ps_examples="$<" ps
26 local-mutopia:
27 $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
29 mutopia: local-mutopia
30 $(LOOP)
32 mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
34 local-clean: local-letter-clean
36 local-letter-clean:
37 rm -f $(outdir)-letter/*
40 local-help: local-mutopia-help
42 local-mutopia-help:
43 @echo -e "\
44 <NAME> update $(outdir)/<NAME>.ps\n\
45 <NAME>-book update booklet $(outdir)/<NAME>-book.ps\n\
46 mutopia update PNGs, PostScript a4 and letter of all mutopia-examples\n\
47 png update PNGs of all examples\n\
48 ps update PostScript of all examples\n\
49 scores update PostScript of all scores\n\