2 .PHONY: download mutopia png ps scores tar
4 .PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
5 .PRECIOUS: $(outdir)-letter/%.dvi $(outdir)-letter/%.ps
9 local-WWW: $(ly_examples) $(fly_examples) $(ps_examples) $(png_examples)
12 $(MAKE) conf=www local-WWW
14 convert-ly: local-convert-ly
18 $(PYTHON) $(CONVERT_LY) --edit --assume-old *ly
21 mkdir -p $(outdir)/$(tarball)
22 cp -p *.ly $(outdir)/$(tarball)
23 cd $(outdir) && tar czf $(tarball).tar.gz $(tarball)
24 rm -rf $(outdir)/$(tarball)
31 $(MAKE) ps_examples="$<" ps
34 # <NAME> and -book targets only available through ly.make template makefile;
35 # too scary to install in LilyPonds make yet.
43 $(outdir)/%-book.ps: $(outdir)/%.ps
45 pstops '2:0L(11.45in,0.25in)+1L(11.45in,5.6in)' $<.1 $@
49 # Catch-all target: type `make foo' to make out/foo.ps,
50 # or make `foo-book' to make out/foo-book.ps
53 @echo Making $@ from $<
57 $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
59 mutopia: local-mutopia
62 mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
64 local-clean: local-letter-clean
67 rm -f $(outdir)-letter/*
70 local-help: local-mutopia-help
74 <NAME> update $(outdir)/<NAME>.ps\n\
75 <NAME>-book update booklet $(outdir)/<NAME>-book.ps\n\
76 convert-ly convert all LilyPond sources\n\
77 mutopia update PNGs, PostScript a4 and letter of all mutopia-examples\n\
78 png update PNGs of all examples\n\
79 ps update PostScript of all examples\n\
80 scores update PostScript of all scores\n\