-
-include $(stepdir)/www-targets.make
-
-
.PHONY: download mutopia png ps scores tar
-.PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
-.PRECIOUS: $(outdir)-letter/%.dvi $(outdir)-letter/%.ps
-
-all: $(OUT_FILES)
-
-local-WWW: $(ly_examples) $(fly_examples) $(ps_examples) $(png_examples)
-
-convert-ly: local-convert-ly
- $(LOOP)
+all:
-local-convert-ly:
- $(PYTHON) $(CONVERT_LY) --edit --assume-old *ly
+ifeq ($(out),www)
+local-WWW-1: $(ly_examples) $(pdf_examples) $(png_examples)
+endif
tar:
mkdir -p $(outdir)/$(tarball)
$(MAKE) ps_examples="$<" ps
local-mutopia:
- $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
+ $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW-1 $(mutopia-letter)
mutopia: local-mutopia
$(LOOP)
@echo -e "\
<NAME> update $(outdir)/<NAME>.ps\n\
<NAME>-book update booklet $(outdir)/<NAME>-book.ps\n\
- 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\