]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.141
authorfred <fred>
Wed, 21 Mar 2001 16:18:29 +0000 (16:18 +0000)
committerfred <fred>
Wed, 21 Mar 2001 16:18:29 +0000 (16:18 +0000)
make/ports-vars.make [new file with mode: 0644]

diff --git a/make/ports-vars.make b/make/ports-vars.make
new file mode 100644 (file)
index 0000000..e443089
--- /dev/null
@@ -0,0 +1,45 @@
+
+# -> mutopia-vars.make
+MUTOPIA_MIRROR = http://www.mutopiaproject.org/ftp
+# ugh: doesn't work
+# mutopia-dir = $(pwd:%/mutopia/%=mutopia)
+mutopia-dir = $(shell pwd | sed 's@.*mutopia@@')
+
+
+wget-list = $(mutopia-examples:%=$(mutopia-dir)/%)
+
+dirs-ignore = GNUmakefile out out-% index.html ftp
+dirs-before = $(SUBDIRS)
+dirs-after = $(filter-out .,$(shell find . -maxdepth 1 -type d -not -name 'out*'))
+
+
+GNUmakefile = '\
+depth = $(depth)/..\n\
+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))
+