]> git.donarmstrong.com Git - lilypond.git/blob - make/mutopia-targets.make
patch::: 1.3.130.jcn4
[lilypond.git] / make / mutopia-targets.make
1
2 .PHONY: mutopia png ps scores tar
3
4 all: $(OUT_FILES)
5
6 local-WWW: $(ly_examples) $(fly_examples) $(ps_examples) $(png_examples)
7
8 local-web:
9         $(MAKE) conf=www local-WWW
10
11 convert-ly: local-convert-ly
12         $(LOOP)
13
14 local-convert-ly:
15         $(PYTHON) $(CONVERT_LY) -e *ly
16
17 tar:
18         mkdir -p $(outdir)/$(tarball)
19         cp -p *.ly $(outdir)/$(tarball)
20         cd $(outdir) && tar czf $(tarball).tar.gz $(tarball)
21
22 png: $(png_examples)
23
24 ps: $(ps_examples)
25
26 scores: $(score_ps)
27         $(MAKE) ps_examples="$<" ps
28
29 mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
30
31 mutopia:
32         $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
33
34 local-help:
35         @echo -e "\
36   convert-ly  convert all LilyPond sources\n\
37   mutopia     update PNGs, PostScript a4 and letter of all mutopia-examples\n\
38   png         update PNGs of all examples\n\
39   ps          update PostScript of all examples\n\
40   scores      update PostScript of all scores\n\
41 "\
42 #