]> git.donarmstrong.com Git - lilypond.git/blob - make/mutopia-targets.make
Update documentation targets
[lilypond.git] / make / mutopia-targets.make
1 .PHONY: download mutopia png ps scores tar
2
3 .PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
4 .PRECIOUS: $(outdir)-letter/%.ps
5
6
7 all: $(OUT_FILES)
8
9 ifeq ($(out),www)
10 local-WWW-1: $(ly_examples) $(pdf_examples) $(png_examples)
11 endif
12
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)
18
19 png: $(png_examples)
20
21 ps: $(ps_examples)
22
23 scores: $(score_ps)
24         $(MAKE) ps_examples="$<" ps
25
26 local-mutopia:
27         $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW-1 $(mutopia-letter)
28
29 mutopia: local-mutopia
30         $(LOOP)
31
32 mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
33
34 local-clean: local-letter-clean
35
36 local-letter-clean:
37         rm -f $(outdir)-letter/*
38
39
40 local-help: local-mutopia-help
41
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\
50 "\
51 #
52
53