2 .PHONY: mutopia png ps scores tar
4 .PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
8 local-WWW: $(ly_examples) $(fly_examples) $(ps_examples) $(png_examples)
11 $(MAKE) conf=www local-WWW
13 convert-ly: local-convert-ly
17 $(PYTHON) $(CONVERT_LY) -e *ly
20 # Also clean hand-compiled stuff in cwd
22 localclean: local-auto-gen-clean
25 rm -f `grep -l 'Generated automacially by' *`
29 mkdir -p $(outdir)/$(tarball)
30 cp -p *.ly $(outdir)/$(tarball)
31 cd $(outdir) && tar czf $(tarball).tar.gz $(tarball)
32 rm -rf $(outdir)/$(tarball)
39 $(MAKE) ps_examples="$<" ps
41 mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
44 $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
47 # <NAME> and -book targets only available through ly.make template makefile;
48 # too scary to install in LilyPonds make yet.
56 $(outdir)/%-book.ps: $(outdir)/%.ps
58 pstops '2:0L(11.45in,0.25in)+1L(11.45in,5.6in)' $<.1 $@
62 # Catch-all target: type `make foo' to make out/foo.ps,
63 # or make `foo-book' to make out/foo-book.ps
66 @echo Making $@ from $<
71 <NAME> update $(outdir)/<NAME>.ps\n\
72 <NAME>-book update booklet $(outdir)/<NAME>-book.ps\n\
73 convert-ly convert all LilyPond sources\n\
74 mutopia update PNGs, PostScript a4 and letter of all mutopia-examples\n\
75 png update PNGs of all examples\n\
76 ps update PostScript of all examples\n\
77 scores update PostScript of all scores\n\