LSR: Update.
[lilypond.git] / make / mutopia-targets.make
blobdeaf2408616932a5375971f2ae79596ba559d91d
1 .PHONY: download mutopia png ps scores tar
3 .PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
4 .PRECIOUS: $(outdir)-letter/%.ps
7 all: $(OUT_FILES)
9 local-WWW-1: $(ly_examples) $(pdf_examples) $(png_examples)
11 tar:
12 mkdir -p $(outdir)/$(tarball)
13 cp -p *.ly $(outdir)/$(tarball)
14 cd $(outdir) && tar czf $(tarball).tar.gz $(tarball)
15 rm -rf $(outdir)/$(tarball)
17 png: $(png_examples)
19 ps: $(ps_examples)
21 scores: $(score_ps)
22 $(MAKE) ps_examples="$<" ps
24 local-mutopia:
25 $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW-1 $(mutopia-letter)
27 mutopia: local-mutopia
28 $(LOOP)
30 mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
32 local-clean: local-letter-clean
34 local-letter-clean:
35 rm -f $(outdir)-letter/*
38 local-help: local-mutopia-help
40 local-mutopia-help:
41 @echo -e "\
42 <NAME> update $(outdir)/<NAME>.ps\n\
43 <NAME>-book update booklet $(outdir)/<NAME>-book.ps\n\
44 mutopia update PNGs, PostScript a4 and letter of all mutopia-examples\n\
45 png update PNGs of all examples\n\
46 ps update PostScript of all examples\n\
47 scores update PostScript of all scores\n\