]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.140
authorfred <fred>
Wed, 27 Mar 2002 00:58:17 +0000 (00:58 +0000)
committerfred <fred>
Wed, 27 Mar 2002 00:58:17 +0000 (00:58 +0000)
make/mutopia-targets.make
mutopia/BachJS/BWV1042/GNUmakefile [new file with mode: 0644]
mutopia/BachJS/BWV1042/concerto-in-e-major/GNUmakefile [new file with mode: 0644]
mutopia/BachJS/BWV772/GNUmakefile [new file with mode: 0644]
mutopia/BachJS/BWV772/bach-invention-01/GNUmakefile [new file with mode: 0644]
mutopia/BachJS/GNUmakefile [new file with mode: 0644]
mutopia/Coriolan/header.ly
mutopia/GNUmakefile
mutopia/mutopia.make [new file with mode: 0644]

index b01250df598eb0663eafd357eca7785b42f67c4d..16906c87fe292adb186f363eae1160c2523ad47e 100644 (file)
@@ -1,5 +1,5 @@
 
-.PHONY: mutopia png ps scores tar
+.PHONY: download mutopia png ps scores tar
 
 .PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
 .PRECIOUS: $(outdir)-letter/%.dvi $(outdir)-letter/%.ps
@@ -30,16 +30,6 @@ 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-clean: local-letter-clean
-
-local-letter-clean:
-       rm -f $(outdir)-letter/*
-
 #
 # <NAME> and -book targets only available through ly.make template makefile;
 # too scary to install in LilyPonds make yet.
@@ -63,6 +53,21 @@ $(outdir)/%-book.ps: $(outdir)/%.ps
        @echo Making $@ from $<
 endif
 
+
+local-mutopia:
+       $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
+
+mutopia: local-mutopia
+       $(LOOP)
+
+mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
+
+local-clean: local-letter-clean
+
+local-letter-clean:
+       rm -f $(outdir)-letter/*
+
+
 local-help:
        @echo -e "\
   <NAME>      update $(outdir)/<NAME>.ps\n\
@@ -74,3 +79,43 @@ local-help:
   scores      update PostScript of all scores\n\
 "\
 #
+
+
+
+#
+# mutopia-archive playground
+#
+
+
+# -> 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)/%)
+
+local-remove-ly:
+       -mv -f $(wildcard *.ly) $(outdir)
+
+remove-ly: local-remove-ly
+       $(LOOP)
+
+local-download: $(mutopia-examples:%=%.ly)
+       @echo downloading $<
+
+download: local-download
+       $(LOOP)
+
+# -> mutopia-rules.make
+ifeq ($(zipped),)
+%.ly:
+       wget $(MUTOPIA_MIRROR)/$(mutopia-dir)/$@
+else
+%.zip:
+       wget $(MUTOPIA_MIRROR)/$(mutopia-dir)/$@
+
+%.ly:  %-lys.zip
+       unzip $<
+endif
+
+
diff --git a/mutopia/BachJS/BWV1042/GNUmakefile b/mutopia/BachJS/BWV1042/GNUmakefile
new file mode 100644 (file)
index 0000000..258be20
--- /dev/null
@@ -0,0 +1,10 @@
+# mutopia/Makefile
+
+depth = ../../..
+
+SUBDIRS = concerto-in-e-major
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/mutopia/mutopia.make
+
diff --git a/mutopia/BachJS/BWV1042/concerto-in-e-major/GNUmakefile b/mutopia/BachJS/BWV1042/concerto-in-e-major/GNUmakefile
new file mode 100644 (file)
index 0000000..5b7664d
--- /dev/null
@@ -0,0 +1,14 @@
+# mutopia/Makefile
+
+depth = ../../../..
+
+SUBDIRS =
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+zipped = true
+mutopia-examples = concerto-in-e-major
+
+include $(depth)/mutopia/mutopia.make
+
+
diff --git a/mutopia/BachJS/BWV772/GNUmakefile b/mutopia/BachJS/BWV772/GNUmakefile
new file mode 100644 (file)
index 0000000..3fd6356
--- /dev/null
@@ -0,0 +1,10 @@
+# mutopia/Makefile
+
+depth = ../../..
+
+SUBDIRS = bach-invention-01
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/mutopia/mutopia.make
+
diff --git a/mutopia/BachJS/BWV772/bach-invention-01/GNUmakefile b/mutopia/BachJS/BWV772/bach-invention-01/GNUmakefile
new file mode 100644 (file)
index 0000000..ea8b30b
--- /dev/null
@@ -0,0 +1,13 @@
+# mutopia/Makefile
+
+depth = ../../../..
+
+SUBDIRS =
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+mutopia-examples = bach-invention-01
+
+include $(depth)/mutopia/mutopia.make
+
+
diff --git a/mutopia/BachJS/GNUmakefile b/mutopia/BachJS/GNUmakefile
new file mode 100644 (file)
index 0000000..626d6b1
--- /dev/null
@@ -0,0 +1,10 @@
+# mutopia/Makefile
+
+depth = ../..
+
+SUBDIRS = BWV772 BWV1042
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/mutopia/mutopia.make
+
index 1c061cefcdbb64b0b44e0ce06aad5f50e36a2692..85a25628bbe7075a2c225a98a9399c5dd3843968 100644 (file)
   copyright = "Public Domain";
   maintainer = "Jan Nieuwenhuizen";
   maintainer_email = "janneke@gnu.org";
-  lastupdated =         "2001/Feb/27";
+  lastupdated =         "2001/Mar/18";
   mutopiapublicdomain = "\\parbox{\hsize}{\\thefooter\\quad\\small
     \\\\This music is part of the Mutopia project,
     \\texttt{http://www.mutopiaproject.org/}\\\\It has been typeset
     ".\\\\Unrestricted modification and redistribution is permitted
     and encouraged---copy this music and share it.}";
  tagline = \mutopiapublicdomain;
- footer = "pre-Mutopia-200y/mm/dd-nr";
+ footer = "pre-Mutopia-2001/03/18-57";
 }
index 8d76d57397257209162a8fffc568592ea17fc2f4..7975b82660db37b99940ffd76e10e2022e848295 100644 (file)
@@ -4,12 +4,12 @@ depth = ..
 
 SUBDIRS = J.S.Bach Coriolan F.Schubert D.Zipoli Hymns E.Satie 
 
-examples= 
-LOCALSTEPMAKE_TEMPLATES=mutopia
-
-include $(depth)/make/stepmake.make
+# empty mutopia-archive dirs
+SUBDIRS += BachJS
 
-EXTRA_DIST_FILES +=  
+LOCALSTEPMAKE_TEMPLATES=mutopia
 
+EXTRA_DIST_FILES = mutopia.make
 
+include $(depth)/mutopia/mutopia.make
 
diff --git a/mutopia/mutopia.make b/mutopia/mutopia.make
new file mode 100644 (file)
index 0000000..a074810
--- /dev/null
@@ -0,0 +1,26 @@
+# mutopia/mutopia.make
+
+#
+# Magic: find and include LilyPond's StepMake rules
+#
+# 0: follow LILYPONDPREFIX
+# 1: try source tree
+# 2: try installed tree in $HOME
+# 3: try system installed tree
+#
+make-root=$(wildcard $(LILYPONDPREFIX)/make)
+make-root?=$(wildcard $(HOME)/usr/src/lilypond/make)
+make-root?=$(wildcard /usr/share/lilypond/make)
+make-root?=$(wildcard /usr/share/lilypond/make)
+#make-root=<LilyPond's datadir>/make
+ifneq ($(make-root),)
+### some versions apparently choke on $(message)
+### $(message running from $(make-root))
+depth=$(make-root)/..
+LOCALSTEPMAKE_TEMPLATES=ly mutopia
+include $(make-root)/stepmake.make
+else
+$(error can't find LilyPond's stepmake installation)
+endif
+#
+