2 .PHONY: 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) -e *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
33 mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
36 $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
38 local-clean: local-letter-clean
41 rm -f $(outdir)-letter/*
44 # <NAME> and -book targets only available through ly.make template makefile;
45 # too scary to install in LilyPonds make yet.
53 $(outdir)/%-book.ps: $(outdir)/%.ps
55 pstops '2:0L(11.45in,0.25in)+1L(11.45in,5.6in)' $<.1 $@
59 # Catch-all target: type `make foo' to make out/foo.ps,
60 # or make `foo-book' to make out/foo-book.ps
63 @echo Making $@ from $<
68 <NAME> update $(outdir)/<NAME>.ps\n\
69 <NAME>-book update booklet $(outdir)/<NAME>-book.ps\n\
70 convert-ly convert all LilyPond sources\n\
71 mutopia update PNGs, PostScript a4 and letter of all mutopia-examples\n\
72 png update PNGs of all examples\n\
73 ps update PostScript of all examples\n\
74 scores update PostScript of all scores\n\