2 include $(stepdir)/www-targets.make
5 .PHONY: download mutopia png ps scores tar
7 .PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
8 .PRECIOUS: $(outdir)-letter/%.dvi $(outdir)-letter/%.ps
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) $(ps_examples) $(png_examples)
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)
28 $(MAKE) ps_examples="$<" ps
31 $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
33 mutopia: local-mutopia
36 mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
38 local-clean: local-letter-clean
41 rm -f $(outdir)-letter/*
44 local-help: local-mutopia-help
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\