]> git.donarmstrong.com Git - lilypond.git/blob - make/mutopia-targets.make
* lily/include/my-lily-parser.hh: rename My_lily -> Lily
[lilypond.git] / make / mutopia-targets.make
1
2 include $(stepdir)/www-targets.make
3
4
5 .PHONY: download mutopia png ps scores tar
6
7 .PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
8 .PRECIOUS: $(outdir)-letter/%.dvi $(outdir)-letter/%.ps
9
10
11 all: $(OUT_FILES)
12
13 # we want dvi_examples as well, because they get thrown away otherwise
14 # incurring another costly lilypond run.
15 local-WWW: $(ly_examples) $(pdf_examples) $(png_examples)
16
17 tar:
18         mkdir -p $(outdir)/$(tarball)
19         cp -p *.ly $(outdir)/$(tarball)
20         cd $(outdir) && tar czf $(tarball).tar.gz $(tarball)
21         rm -rf $(outdir)/$(tarball)
22
23 png: $(png_examples)
24
25 ps: $(ps_examples)
26
27 scores: $(score_ps)
28         $(MAKE) ps_examples="$<" ps
29
30 local-mutopia:
31         $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
32
33 mutopia: local-mutopia
34         $(LOOP)
35
36 mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
37
38 local-clean: local-letter-clean
39
40 local-letter-clean:
41         rm -f $(outdir)-letter/*
42
43
44 local-help: local-mutopia-help
45
46 local-mutopia-help:
47         @echo -e "\
48   <NAME>      update $(outdir)/<NAME>.ps\n\
49   <NAME>-book update booklet $(outdir)/<NAME>-book.ps\n\
50   mutopia     update PNGs, PostScript a4 and letter of all mutopia-examples\n\
51   png         update PNGs of all examples\n\
52   ps          update PostScript of all examples\n\
53   scores      update PostScript of all scores\n\
54 "\
55 #
56
57