---- ../lilypond-1.3.139.jcn2/CHANGES Sun Mar 18 17:33:23 2001
+--- ../lilypond-1.3.139.jcn3/CHANGES Sun Mar 18 19:41:31 2001
+++ b/CHANGES Sun Mar 18 23:27:12 2001
+@@ -1,3 +1,8 @@
+1.3.139.jcn4
+============
+
+* Experimental start of ports to mutopia archive.
+
+ 1.3.139.jcn3
+ ============
+ --- ../lilypond-1.3.139.jcn2/CHANGES Sun Mar 18 17:33:23 2001
++ b/CHANGES Sun Mar 18 19:41:31 2001
@@ -1,3 +1,12 @@
1.3.139.jcn3
MAJOR_VERSION=1
MINOR_VERSION=3
PATCH_LEVEL=139
-MY_PATCH_LEVEL=jcn3
+MY_PATCH_LEVEL=jcn4
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
-.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
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.
@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\
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
+
+
--- /dev/null
+# mutopia/Makefile
+
+depth = ../../..
+
+SUBDIRS = concerto-in-e-major
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/mutopia/mutopia.make
+
--- /dev/null
+# mutopia/Makefile
+
+depth = ../../../..
+
+SUBDIRS =
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+zipped = true
+mutopia-examples = concerto-in-e-major
+
+include $(depth)/mutopia/mutopia.make
+
+
--- /dev/null
+# mutopia/Makefile
+
+depth = ../../..
+
+SUBDIRS = bach-invention-01
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/mutopia/mutopia.make
+
--- /dev/null
+# mutopia/Makefile
+
+depth = ../../../..
+
+SUBDIRS =
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+mutopia-examples = bach-invention-01
+
+include $(depth)/mutopia/mutopia.make
+
+
--- /dev/null
+# mutopia/Makefile
+
+depth = ../..
+
+SUBDIRS = BWV772 BWV1042
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/mutopia/mutopia.make
+
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
--- /dev/null
+# 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
+#
+