]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/ports-vars.make
Add support for max-systems-per-page.
[lilypond.git] / make / ports-vars.make
index e5d96e8e78bdb55e3270ad36a098817dbe883cc1..e44308971e1d48641bbc2dd85b2ee7eca1b19b3e 100644 (file)
@@ -19,3 +19,27 @@ include $$(depth)/ports/ports.make\n\
 '
 
 
+#
+# scores for target local-WWW (duh)
+#
+examples=
+
+
+#
+# scores for target mutopia
+#
+# Hairy hack to support name `score.ly' inside zipfile.
+# This will fail to download and build mutopia in one go,
+# either download first, or issue `make mutopia' twice.
+# How to really fix this?
+#
+mutopia-parts = $(patsubst %.ly,%,$(wildcard *-part.ly))
+mutopia-scores = $(patsubst %.ly,%,$(wildcard $(mutopia-name).ly score.ly))
+ifeq ($(mutopia-scores),)
+mutopia-scores = $(patsubst %.ly,%, $(shell grep -l '\\score' *.ly))
+ifeq ($(mutopia-scores),)
+mutopia-scores = $(mutopia-name)
+endif
+endif
+mutopia-examples = $(sort $(mutopia-scores) $(mutopia-parts))
+