]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/mutopia-targets.make
patch::: 1.3.130.jcn4
[lilypond.git] / make / mutopia-targets.make
index 806ff65c6b5430c980d1b911bf04b554701e98f4..5c7011da3d8e43d3db48975237825d2d646288e2 100644 (file)
@@ -1,10 +1,9 @@
 
+.PHONY: mutopia png ps scores tar
 
 all: $(OUT_FILES)
 
 local-WWW: $(ly_examples) $(fly_examples) $(ps_examples) $(png_examples)
-#      (cd $(outdir); $(PYTHON) ../$(buildscript-dir)/mutopia-index.py --prefix=../ --suffix=/$(outdir) $(html_subdirs) $(all_examples))
-#      $(footify) $(outdir)/index.html
 
 local-web:
        $(MAKE) conf=www local-WWW
@@ -13,9 +12,31 @@ convert-ly: local-convert-ly
        $(LOOP)
 
 local-convert-ly:
-       $(PYTHON) $(script-dir)/convert-ly.py -e *ly
+       $(PYTHON) $(CONVERT_LY) -e *ly
 
 tar:
        mkdir -p $(outdir)/$(tarball)
        cp -p *.ly $(outdir)/$(tarball)
        cd $(outdir) && tar czf $(tarball).tar.gz $(tarball)
+
+png: $(png_examples)
+
+ps: $(ps_examples)
+
+scores: $(score_ps)
+       $(MAKE) ps_examples="$<" ps
+
+mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
+
+mutopia:
+       $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
+
+local-help:
+       @echo -e "\
+  convert-ly  convert all LilyPond sources\n\
+  mutopia     update PNGs, PostScript a4 and letter of all mutopia-examples\n\
+  png         update PNGs of all examples\n\
+  ps          update PostScript of all examples\n\
+  scores      update PostScript of all scores\n\
+"\
+#