From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Mon, 19 Mar 2001 15:35:42 +0000 (+0100)
Subject: patch::: 1.3.140.jcn1
X-Git-Tag: release/1.3.141~7
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4a8e0de294608542396e58761b305cdcd7fd6055;p=lilypond.git

patch::: 1.3.140.jcn1

1.3.140.jcn1
============

* Moved ports section of mutopia to mutopia/ports.  Fixed make bootstrapping.  Added sync target, synced with www.mutopiaproject.org.

1.3.139.jcn6
============

* Bugfix: ly2dvi sets footers, headers, tagline.  Pagenumbering on by default.

1.3.140
=======
---

diff --git a/CHANGES b/CHANGES
index 9cc8901a9c..3f3e30a2a5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,16 @@
+1.3.140.jcn1
+============
+
+* Moved ports section of mutopia to mutopia/ports.  Fixed make bootstrapping.  Added sync target, synced with www.mutopiaproject.org.
+
+1.3.139.jcn6
+============
+
+* Bugfix: ly2dvi sets footers, headers, tagline.  Pagenumbering on by default.
+
+1.3.140
+=======
+
 1.3.139.jcn5
 ============
 
diff --git a/GNUmakefile.in b/GNUmakefile.in
index eaff8f986d..f5b95d7437 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -8,9 +8,10 @@ depth = .
 
 # descent order into subdirectories:
 #
-SUBDIRS =  buildscripts scripts  flower lily mf midi2ly po debian \
-	Documentation ly input tex make mutopia intl $(builddir)/stepmake\
-	ps  scm
+SUBDIRS = buildscripts scripts flower lily mf midi2ly po \
+	Documentation ly input tex make intl ps scm \
+	debian $(builddir)/stepmake \
+	mutopia ports
 #
 
 SCRIPTS = configure aclocal.m4
diff --git a/VERSION b/VERSION
index f230ba68a4..b9c4f45a45 100644
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=3
 PATCH_LEVEL=140
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=jcn1
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
diff --git a/input/example-1.ly b/input/example-1.ly
index 475ab4811d..cd62668b8b 100644
--- a/input/example-1.ly
+++ b/input/example-1.ly
@@ -1,20 +1,14 @@
+% A simple scale in LilyPond
+%
+% Type:
+%
+%     ly2dvi example-1
+%     xdvi example-1     # or your dvi viewer here
+%
 
 \score { 
   \context Voice \notes\relative c {
     c' d e f g a b c
-	
-	% A simple scale in Mudela.
-	%
-	% Type:
-	%
-	%     ly2dvi example-1
-	%     xdvi example-1     # or your dvi viewer here
-	%
-	% For more elaborate examples see twinkle.ly, input/* and mutopia/*.
-	%
-	% A docmument on Mudela is under construction: Documentation/tex/mudela.doc
-	% (available as .ps from the website too).
-	
   }
   \paper {  }  
   \midi { }
diff --git a/input/example-2.ly b/input/example-2.ly
index 116e0ad818..da40b648ef 100644
--- a/input/example-2.ly
+++ b/input/example-2.ly
@@ -1,20 +1,14 @@
+% Some beamed and slurred notes of different taste in LilyPond
+%
+% Type:
+%
+%     ly2dvi example-2
+%     xdvi example-2     # or your dvi viewer here
+%
 
 \score { 
   \context Voice \notes\relative c {
     a''2 ~ c4( [e8 )e] [a,16 a a a]
-	
-	% Some beamed and slurred notes of different taste in Mudela.
-	%
-	% Type:
-	%
-	%     ly2dvi example-2
-	%     xdvi example-2     # or your dvi viewer here
-	%
-	% For more elaborate examples see twinkle.ly, input/* and mutopia/*.
-	%
-	% A docmument on Mudela is under construction: Documentation/tex/mudela.doc
-	% (available as .ps from the website too).
-	
   }
   \paper {  }  
   \midi { }
diff --git a/input/example-3.ly b/input/example-3.ly
index 547f2fa40a..92e05eaf04 100644
--- a/input/example-3.ly
+++ b/input/example-3.ly
@@ -17,14 +17,9 @@ two =  \notes\relative c{
 	\midi{}
 }
 
-% A full-mudela example with two staffs
+% A full example with two staffs
 %
 % Type:
 %
 %     ly2dvi example-3
 %     xdvi example-3     # or your dvi viewer here
-%
-% For more elaborate examples see twinkle.ly, input/* and mutopia/*.
-%
-% A docmument on Mudela is under construction: Documentation/tex/mudela.doc
-% (available as .ps from the website too).
diff --git a/make/ly.make b/make/ly.make
index a29c020885..3183a5867d 100644
--- a/make/ly.make
+++ b/make/ly.make
@@ -9,15 +9,19 @@
 #
 # 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)
+# 0: try local tree
+# 1: follow LILYPONDPREFIX
+# 2: try source tree in home
+# 3: try installed tree in $HOME
+# 4: try system installed tree
+# 5: try system installed tree
+#
+make-root=$(wildcard $(depth)/make)
+make-root?=$(wildcard $(LILYPONDPREFIX)/make)
 make-root?=$(wildcard $(HOME)/usr/src/lilypond/make)
+make-root?=$(wildcard $(HOME)/usr/share/lilypond/make)
 make-root?=$(wildcard /usr/share/lilypond/make)
-make-root?=$(wildcard /usr/share/lilypond/make)
+make-root?=$(wildcard /usr/local/share/lilypond/make)
 #make-root=<LilyPond's datadir>/make
 ifneq ($(make-root),)
 ### some versions apparently choke on $(message)
diff --git a/make/mutopia-targets.make b/make/mutopia-targets.make
index 16906c87fe..e330481122 100644
--- a/make/mutopia-targets.make
+++ b/make/mutopia-targets.make
@@ -53,7 +53,6 @@ $(outdir)/%-book.ps: $(outdir)/%.ps
 	@echo Making $@ from $<
 endif
 
-
 local-mutopia:
 	$(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
 
@@ -68,7 +67,9 @@ local-letter-clean:
 	rm -f $(outdir)-letter/*
 
 
-local-help:
+local-help: local-mutopia-help
+
+local-mutopia-help:
 	@echo -e "\
   <NAME>      update $(outdir)/<NAME>.ps\n\
   <NAME>-book update booklet $(outdir)/<NAME>-book.ps\n\
@@ -81,41 +82,3 @@ local-help:
 #
 
 
-
-#
-# 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/make/ports-rules.make b/make/ports-rules.make
new file mode 100644
index 0000000000..3293cbe4f3
--- /dev/null
+++ b/make/ports-rules.make
@@ -0,0 +1,22 @@
+ifeq ($(zipped),)
+%.ly:
+	wget $(MUTOPIA_MIRROR)/$(mutopia-dir)/$@
+	$(MAKE) local-convert-ly
+else
+%.zip:
+	wget $(MUTOPIA_MIRROR)/$(mutopia-dir)/$@
+
+%.ly:	%-lys.zip
+	unzip $<
+	$(MAKE) local-convert-ly
+endif
+
+%/GNUmakefile:
+	mkdir -p $(@D)
+	$(if $(shell grep '[.]ly' $(@D)/index.html), \
+		echo 'mutopia-examples = $(@D)' > $@, \
+		$(if $(shell grep '[.]zip' $(@D)/index.html), \
+			echo -e 'zipped = true\nmutopia-examples = $(@D)' > $@))
+	echo -e $(GNUmakefile) >> $@
+
+
diff --git a/make/ports-targets.make b/make/ports-targets.make
new file mode 100644
index 0000000000..aa27aa6a5f
--- /dev/null
+++ b/make/ports-targets.make
@@ -0,0 +1,46 @@
+
+local-ly-clean:
+	-mv -f $(wildcard *.ly) $(outdir)
+
+ly-clean: local-ly-clean
+	$(LOOP)
+
+local-download: $(mutopia-examples:%=%.ly)
+	@echo downloading $<
+
+download: local-download
+	$(LOOP)
+
+#
+# Lots smarter would be to do one recursive wget, getting all index.html,
+# parse those with python script to setup tree.
+#
+local-sync:
+	wget --recursive --no-parent --level=1 --timestamping --dont-remove-listing --no-host-directories --accept=index.html $(MUTOPIA_MIRROR)/$(mutopia-dir)/
+# ugh
+# -mv ./ftp/$(mutopia-dir)/* .
+	cp -r ./ftp/$(mutopia-dir)/* .
+	rm -rf ./ftp
+	$(MAKE) 'dirs-before=$(dirs-before)' generate-GNUmakefiles
+
+#
+# should we dowload .ly and .zip just to fill-in tree?
+#
+sync: local-sync
+#	wget --recursive --no-parent --timestamping --dont-remove-listing --no-host-directories --cut-dirs=2 --accept=foo $(MUTOPIA_MIRROR)/$(mutopia-dir)/
+	$(LOOP)
+
+generate-GNUmakefiles: $(dirs-after:%=%/GNUmakefile)
+
+# too time-consuming?
+# local-dist: local-ly-clean
+
+local-help: local-ports-help
+
+local-ports-help:
+	@echo -e "\
+  download    download .lys from $(MUTOPIA_MIRROR)\n\
+  ly-clean    move all .lys to $(outdir)\n\
+  sync        generate missing parts of tree\n\
+"\
+
diff --git a/make/ports-vars.make b/make/ports-vars.make
new file mode 100644
index 0000000000..e5d96e8e78
--- /dev/null
+++ b/make/ports-vars.make
@@ -0,0 +1,21 @@
+
+# -> 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\
+'
+
+
diff --git a/mutopia/BachJS/BWV1042/GNUmakefile b/mutopia/BachJS/BWV1042/GNUmakefile
index 258be205f3..e69de29bb2 100644
--- a/mutopia/BachJS/BWV1042/GNUmakefile
+++ b/mutopia/BachJS/BWV1042/GNUmakefile
@@ -1,10 +0,0 @@
-# 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
index 5b7664d87c..e69de29bb2 100644
--- a/mutopia/BachJS/BWV1042/concerto-in-e-major/GNUmakefile
+++ b/mutopia/BachJS/BWV1042/concerto-in-e-major/GNUmakefile
@@ -1,14 +0,0 @@
-# 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
index 3fd6356308..e69de29bb2 100644
--- a/mutopia/BachJS/BWV772/GNUmakefile
+++ b/mutopia/BachJS/BWV772/GNUmakefile
@@ -1,10 +0,0 @@
-# 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
index ea8b30bc23..e69de29bb2 100644
--- a/mutopia/BachJS/BWV772/bach-invention-01/GNUmakefile
+++ b/mutopia/BachJS/BWV772/bach-invention-01/GNUmakefile
@@ -1,13 +0,0 @@
-# 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
index 626d6b1a9c..e69de29bb2 100644
--- a/mutopia/BachJS/GNUmakefile
+++ b/mutopia/BachJS/GNUmakefile
@@ -1,10 +0,0 @@
-# mutopia/Makefile
-
-depth = ../..
-
-SUBDIRS = BWV772 BWV1042
-
-LOCALSTEPMAKE_TEMPLATES=mutopia
-
-include $(depth)/mutopia/mutopia.make
-
diff --git a/mutopia/Coriolan/header.ly b/mutopia/Coriolan/header.ly
index 85a25628bb..61c4076303 100644
--- a/mutopia/Coriolan/header.ly
+++ b/mutopia/Coriolan/header.ly
@@ -180,7 +180,7 @@
   copyright = "Public Domain";
   maintainer = "Jan Nieuwenhuizen";
   maintainer_email = "janneke@gnu.org";
-  lastupdated =	 "2001/Mar/18";
+  lastupdated =	 "2001/Mar/19";
   mutopiapublicdomain = "\\parbox{\hsize}{\\thefooter\\quad\\small
     \\\\This music is part of the Mutopia project,
     \\texttt{http://www.mutopiaproject.org/}\\\\It has been typeset
@@ -188,5 +188,5 @@
     ".\\\\Unrestricted modification and redistribution is permitted
     and encouraged---copy this music and share it.}";
  tagline = \mutopiapublicdomain;
- footer = "pre-Mutopia-2001/03/18-57";
+ footer = "Mutopia-2001/03/19-57";
 }
diff --git a/mutopia/GNUmakefile b/mutopia/GNUmakefile
index 7975b82660..047ce5a4e7 100644
--- a/mutopia/GNUmakefile
+++ b/mutopia/GNUmakefile
@@ -4,12 +4,7 @@ depth = ..
 
 SUBDIRS = J.S.Bach Coriolan F.Schubert D.Zipoli Hymns E.Satie 
 
-# empty mutopia-archive dirs
-SUBDIRS += BachJS
-
 LOCALSTEPMAKE_TEMPLATES=mutopia
 
-EXTRA_DIST_FILES = mutopia.make
-
-include $(depth)/mutopia/mutopia.make
+include $(depth)/make/stepmake.make 
 
diff --git a/mutopia/mutopia.make b/mutopia/mutopia.make
index a074810ac7..e69de29bb2 100644
--- a/mutopia/mutopia.make
+++ b/mutopia/mutopia.make
@@ -1,26 +0,0 @@
-# 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
-#
-
diff --git a/ports/GNUmakefile b/ports/GNUmakefile
new file mode 100644
index 0000000000..477adb9abc
--- /dev/null
+++ b/ports/GNUmakefile
@@ -0,0 +1,13 @@
+# ports/Makefile
+
+depth = ..
+
+SUBDIRS = mutopia
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+EXTRA_DIST_FILES = ports.make README.ports
+
+# include $(depth)/make/stepmake.make 
+include $(depth)/ports/ports.make
+
diff --git a/ports/README.ports b/ports/README.ports
new file mode 100644
index 0000000000..fe663a1bc6
--- /dev/null
+++ b/ports/README.ports
@@ -0,0 +1,22 @@
+
+Experimental portal to www.mutopiaproject.org
+
+Issue
+
+    make help
+
+to get started.
+
+
+TODO
+
+    * smarter sync target.
+
+    * flexible publish target, for home and www.mutopiaproject.org use.
+
+    * fine grained `make mutopia' targets.  Currently, make mutopia
+      generates everything: dvi, ps, pngs, in a4 and letter formats.
+      Very useful for submitting to mutopia, but bit over the top otherwise.
+
+    * documentation: users should use the bootstrapping in make/ly.make
+      to generate mutopia submissions.
\ No newline at end of file
diff --git a/ports/mutopia/ArbeauT/GNUmakefile b/ports/mutopia/ArbeauT/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/ArbeauT/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/ArbeauT/Orch/GNUmakefile b/ports/mutopia/ArbeauT/Orch/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/ArbeauT/Orch/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/ArbeauT/Orch/belle/GNUmakefile b/ports/mutopia/ArbeauT/Orch/belle/GNUmakefile
new file mode 100644
index 0000000000..f51703e613
--- /dev/null
+++ b/ports/mutopia/ArbeauT/Orch/belle/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = belle
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV1008/GNUmakefile b/ports/mutopia/BachJS/BWV1008/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV1008/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV1008/solo-cello-suite-ii/GNUmakefile b/ports/mutopia/BachJS/BWV1008/solo-cello-suite-ii/GNUmakefile
new file mode 100644
index 0000000000..5d0d36550b
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV1008/solo-cello-suite-ii/GNUmakefile
@@ -0,0 +1,5 @@
+zipped = true
+mutopia-examples = solo-cello-suite-ii
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV1042/GNUmakefile b/ports/mutopia/BachJS/BWV1042/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV1042/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV1042/concerto-in-e-major/GNUmakefile b/ports/mutopia/BachJS/BWV1042/concerto-in-e-major/GNUmakefile
new file mode 100644
index 0000000000..c1dcf28717
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV1042/concerto-in-e-major/GNUmakefile
@@ -0,0 +1,5 @@
+zipped = true
+mutopia-examples = concerto-in-e-major
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV1043/GNUmakefile b/ports/mutopia/BachJS/BWV1043/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV1043/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV1043/concerto-in-d-minor/GNUmakefile b/ports/mutopia/BachJS/BWV1043/concerto-in-d-minor/GNUmakefile
new file mode 100644
index 0000000000..983e377085
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV1043/concerto-in-d-minor/GNUmakefile
@@ -0,0 +1,5 @@
+zipped = true
+mutopia-examples = concerto-in-d-minor
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV772/GNUmakefile b/ports/mutopia/BachJS/BWV772/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV772/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV772/bach-invention-01/GNUmakefile b/ports/mutopia/BachJS/BWV772/bach-invention-01/GNUmakefile
new file mode 100644
index 0000000000..63f176735c
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV772/bach-invention-01/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = bach-invention-01
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV846/GNUmakefile b/ports/mutopia/BachJS/BWV846/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV846/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV846/wtk1-fugue1/GNUmakefile b/ports/mutopia/BachJS/BWV846/wtk1-fugue1/GNUmakefile
new file mode 100644
index 0000000000..a506d1117f
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV846/wtk1-fugue1/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = wtk1-fugue1
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV846/wtk1-prelude1/GNUmakefile b/ports/mutopia/BachJS/BWV846/wtk1-prelude1/GNUmakefile
new file mode 100644
index 0000000000..ba5fd027ff
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV846/wtk1-prelude1/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = wtk1-prelude1
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV847/GNUmakefile b/ports/mutopia/BachJS/BWV847/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV847/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV847/wtk1-fugue2/GNUmakefile b/ports/mutopia/BachJS/BWV847/wtk1-fugue2/GNUmakefile
new file mode 100644
index 0000000000..5c7848fff7
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV847/wtk1-fugue2/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = wtk1-fugue2
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV847/wtk1-prae2/GNUmakefile b/ports/mutopia/BachJS/BWV847/wtk1-prae2/GNUmakefile
new file mode 100644
index 0000000000..f086f700d8
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV847/wtk1-prae2/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = wtk1-prae2
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV851/GNUmakefile b/ports/mutopia/BachJS/BWV851/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV851/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV851/fugue_re_mineur_BWV851/GNUmakefile b/ports/mutopia/BachJS/BWV851/fugue_re_mineur_BWV851/GNUmakefile
new file mode 100644
index 0000000000..77101f601e
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV851/fugue_re_mineur_BWV851/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = fugue_re_mineur_BWV851
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV854/GNUmakefile b/ports/mutopia/BachJS/BWV854/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV854/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV854/wtk1-fugue9/GNUmakefile b/ports/mutopia/BachJS/BWV854/wtk1-fugue9/GNUmakefile
new file mode 100644
index 0000000000..c1ae7a6627
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV854/wtk1-fugue9/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = wtk1-fugue9
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV854/wtk1-prelude9/GNUmakefile b/ports/mutopia/BachJS/BWV854/wtk1-prelude9/GNUmakefile
new file mode 100644
index 0000000000..130edf4072
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV854/wtk1-prelude9/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = wtk1-prelude9
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV871/GNUmakefile b/ports/mutopia/BachJS/BWV871/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV871/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV871/wtk2-fugue2/GNUmakefile b/ports/mutopia/BachJS/BWV871/wtk2-fugue2/GNUmakefile
new file mode 100644
index 0000000000..6f5b2e5cc1
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV871/wtk2-fugue2/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = wtk2-fugue2
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV997/Bach_Preludio_BWV997/GNUmakefile b/ports/mutopia/BachJS/BWV997/Bach_Preludio_BWV997/GNUmakefile
new file mode 100644
index 0000000000..3934916e70
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV997/Bach_Preludio_BWV997/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = Bach_Preludio_BWV997
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV997/GNUmakefile b/ports/mutopia/BachJS/BWV997/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV997/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV997/bwv997-01prelude/GNUmakefile b/ports/mutopia/BachJS/BWV997/bwv997-01prelude/GNUmakefile
new file mode 100644
index 0000000000..61f67f5df0
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV997/bwv997-01prelude/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = bwv997-01prelude
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV997/bwv997-02fuga/GNUmakefile b/ports/mutopia/BachJS/BWV997/bwv997-02fuga/GNUmakefile
new file mode 100644
index 0000000000..2e3d982642
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV997/bwv997-02fuga/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = bwv997-02fuga
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV997/bwv997-03sarabande/GNUmakefile b/ports/mutopia/BachJS/BWV997/bwv997-03sarabande/GNUmakefile
new file mode 100644
index 0000000000..b2c178189c
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV997/bwv997-03sarabande/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = bwv997-03sarabande
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV997/bwv997-04gigue/GNUmakefile b/ports/mutopia/BachJS/BWV997/bwv997-04gigue/GNUmakefile
new file mode 100644
index 0000000000..a9cb5c2589
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV997/bwv997-04gigue/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = bwv997-04gigue
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV997/bwv997-05double/GNUmakefile b/ports/mutopia/BachJS/BWV997/bwv997-05double/GNUmakefile
new file mode 100644
index 0000000000..7fd747e6c5
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV997/bwv997-05double/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = bwv997-05double
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV999/GNUmakefile b/ports/mutopia/BachJS/BWV999/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV999/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/BWV999/praludum-in-c-moll/GNUmakefile b/ports/mutopia/BachJS/BWV999/praludum-in-c-moll/GNUmakefile
new file mode 100644
index 0000000000..322ca125fa
--- /dev/null
+++ b/ports/mutopia/BachJS/BWV999/praludum-in-c-moll/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = praludum-in-c-moll
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/GNUmakefile b/ports/mutopia/BachJS/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/BachJS/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BachJS/chorale_1/GNUmakefile b/ports/mutopia/BachJS/chorale_1/GNUmakefile
new file mode 100644
index 0000000000..ab6b95b359
--- /dev/null
+++ b/ports/mutopia/BachJS/chorale_1/GNUmakefile
@@ -0,0 +1,5 @@
+zipped = true
+mutopia-examples = chorale_1
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BanchieriA/GNUmakefile b/ports/mutopia/BanchieriA/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/BanchieriA/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BanchieriA/Reg1_Suon1/GNUmakefile b/ports/mutopia/BanchieriA/Reg1_Suon1/GNUmakefile
new file mode 100644
index 0000000000..d3f30e459e
--- /dev/null
+++ b/ports/mutopia/BanchieriA/Reg1_Suon1/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = Reg1_Suon1
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BanchieriA/Reg1_Suon2/GNUmakefile b/ports/mutopia/BanchieriA/Reg1_Suon2/GNUmakefile
new file mode 100644
index 0000000000..ead21cb96c
--- /dev/null
+++ b/ports/mutopia/BanchieriA/Reg1_Suon2/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = Reg1_Suon2
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BanchieriA/Reg1_Suon3/GNUmakefile b/ports/mutopia/BanchieriA/Reg1_Suon3/GNUmakefile
new file mode 100644
index 0000000000..eedae5d87d
--- /dev/null
+++ b/ports/mutopia/BanchieriA/Reg1_Suon3/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = Reg1_Suon3
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BanchieriA/Reg1_Suon4/GNUmakefile b/ports/mutopia/BanchieriA/Reg1_Suon4/GNUmakefile
new file mode 100644
index 0000000000..16557a731c
--- /dev/null
+++ b/ports/mutopia/BanchieriA/Reg1_Suon4/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = Reg1_Suon4
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BanchieriA/Reg1_Suon5/GNUmakefile b/ports/mutopia/BanchieriA/Reg1_Suon5/GNUmakefile
new file mode 100644
index 0000000000..5419d7ec3e
--- /dev/null
+++ b/ports/mutopia/BanchieriA/Reg1_Suon5/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = Reg1_Suon5
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BanchieriA/Reg1_Suon6/GNUmakefile b/ports/mutopia/BanchieriA/Reg1_Suon6/GNUmakefile
new file mode 100644
index 0000000000..6fd097b99d
--- /dev/null
+++ b/ports/mutopia/BanchieriA/Reg1_Suon6/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = Reg1_Suon6
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BeethovenLv/GNUmakefile b/ports/mutopia/BeethovenLv/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/BeethovenLv/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BeethovenLv/WoO59/GNUmakefile b/ports/mutopia/BeethovenLv/WoO59/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BeethovenLv/WoO59/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BeethovenLv/WoO59/fur-elise/GNUmakefile b/ports/mutopia/BeethovenLv/WoO59/fur-elise/GNUmakefile
new file mode 100644
index 0000000000..8df2fb89a2
--- /dev/null
+++ b/ports/mutopia/BeethovenLv/WoO59/fur-elise/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = fur-elise
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BendaJA/Benda_SonateG3/GNUmakefile b/ports/mutopia/BendaJA/Benda_SonateG3/GNUmakefile
new file mode 100644
index 0000000000..cdfe21b1d1
--- /dev/null
+++ b/ports/mutopia/BendaJA/Benda_SonateG3/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = Benda_SonateG3
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BendaJA/GNUmakefile b/ports/mutopia/BendaJA/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/BendaJA/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BruhnsN/BWV847/GNUmakefile b/ports/mutopia/BruhnsN/BWV847/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/BruhnsN/BWV847/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BruhnsN/BWV847/Pfeminor/GNUmakefile b/ports/mutopia/BruhnsN/BWV847/Pfeminor/GNUmakefile
new file mode 100644
index 0000000000..12c04ff015
--- /dev/null
+++ b/ports/mutopia/BruhnsN/BWV847/Pfeminor/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = Pfeminor
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/BruhnsN/GNUmakefile b/ports/mutopia/BruhnsN/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/BruhnsN/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/CarcassiM/GNUmakefile b/ports/mutopia/CarcassiM/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/CarcassiM/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/CarcassiM/O60/GNUmakefile b/ports/mutopia/CarcassiM/O60/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/CarcassiM/O60/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/CarcassiM/O60/carcassi-op60-01/GNUmakefile b/ports/mutopia/CarcassiM/O60/carcassi-op60-01/GNUmakefile
new file mode 100644
index 0000000000..491930b5c5
--- /dev/null
+++ b/ports/mutopia/CarcassiM/O60/carcassi-op60-01/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = carcassi-op60-01
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/CarcassiM/O60/carcassi-op60-03/GNUmakefile b/ports/mutopia/CarcassiM/O60/carcassi-op60-03/GNUmakefile
new file mode 100644
index 0000000000..8e976b0c78
--- /dev/null
+++ b/ports/mutopia/CarcassiM/O60/carcassi-op60-03/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = carcassi-op60-03
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/CarcassiM/O60/carcassi-op60-08/GNUmakefile b/ports/mutopia/CarcassiM/O60/carcassi-op60-08/GNUmakefile
new file mode 100644
index 0000000000..4db037cece
--- /dev/null
+++ b/ports/mutopia/CarcassiM/O60/carcassi-op60-08/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = carcassi-op60-08
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/CarcassiM/O60/carcassi-op60-15/GNUmakefile b/ports/mutopia/CarcassiM/O60/carcassi-op60-15/GNUmakefile
new file mode 100644
index 0000000000..9ebbe9da2e
--- /dev/null
+++ b/ports/mutopia/CarcassiM/O60/carcassi-op60-15/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = carcassi-op60-15
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/CarulliF/GNUmakefile b/ports/mutopia/CarulliF/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/CarulliF/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/CarulliF/carulli-duet-in-g/GNUmakefile b/ports/mutopia/CarulliF/carulli-duet-in-g/GNUmakefile
new file mode 100644
index 0000000000..950b794a58
--- /dev/null
+++ b/ports/mutopia/CarulliF/carulli-duet-in-g/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = carulli-duet-in-g
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/ClementiM/GNUmakefile b/ports/mutopia/ClementiM/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/ClementiM/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/ClementiM/O36/GNUmakefile b/ports/mutopia/ClementiM/O36/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/ClementiM/O36/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/ClementiM/O36/sonatina-36-1/GNUmakefile b/ports/mutopia/ClementiM/O36/sonatina-36-1/GNUmakefile
new file mode 100644
index 0000000000..aa1609d2a4
--- /dev/null
+++ b/ports/mutopia/ClementiM/O36/sonatina-36-1/GNUmakefile
@@ -0,0 +1,5 @@
+zipped = true
+mutopia-examples = sonatina-36-1
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/ClementiM/O36/sonatina-36-2/GNUmakefile b/ports/mutopia/ClementiM/O36/sonatina-36-2/GNUmakefile
new file mode 100644
index 0000000000..bee977268a
--- /dev/null
+++ b/ports/mutopia/ClementiM/O36/sonatina-36-2/GNUmakefile
@@ -0,0 +1,5 @@
+zipped = true
+mutopia-examples = sonatina-36-2
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/ClementiM/O36/sonatina-36-3/GNUmakefile b/ports/mutopia/ClementiM/O36/sonatina-36-3/GNUmakefile
new file mode 100644
index 0000000000..9b75ed31b9
--- /dev/null
+++ b/ports/mutopia/ClementiM/O36/sonatina-36-3/GNUmakefile
@@ -0,0 +1,5 @@
+zipped = true
+mutopia-examples = sonatina-36-3
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/ClementiM/O36/sonatina-36-4/GNUmakefile b/ports/mutopia/ClementiM/O36/sonatina-36-4/GNUmakefile
new file mode 100644
index 0000000000..812aaf1bfe
--- /dev/null
+++ b/ports/mutopia/ClementiM/O36/sonatina-36-4/GNUmakefile
@@ -0,0 +1,5 @@
+zipped = true
+mutopia-examples = sonatina-36-4
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/DowlandJ/ALS1/GNUmakefile b/ports/mutopia/DowlandJ/ALS1/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/DowlandJ/ALS1/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/DowlandJ/ALS1/unquietthoughts/GNUmakefile b/ports/mutopia/DowlandJ/ALS1/unquietthoughts/GNUmakefile
new file mode 100644
index 0000000000..bbe2554dc5
--- /dev/null
+++ b/ports/mutopia/DowlandJ/ALS1/unquietthoughts/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = unquietthoughts
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/DowlandJ/GNUmakefile b/ports/mutopia/DowlandJ/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/DowlandJ/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/GNUmakefile b/ports/mutopia/GNUmakefile
new file mode 100644
index 0000000000..f132889afb
--- /dev/null
+++ b/ports/mutopia/GNUmakefile
@@ -0,0 +1,6 @@
+# ports/mutopia/Makefile
+
+depth = ../..
+
+include $(depth)/ports/ports.make
+
diff --git a/ports/mutopia/GiordianoG/GNUmakefile b/ports/mutopia/GiordianoG/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/GiordianoG/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/GiordianoG/caromioben/GNUmakefile b/ports/mutopia/GiordianoG/caromioben/GNUmakefile
new file mode 100644
index 0000000000..cd6f1ade24
--- /dev/null
+++ b/ports/mutopia/GiordianoG/caromioben/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = caromioben
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/JoplinS/GNUmakefile b/ports/mutopia/JoplinS/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/JoplinS/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/JoplinS/maple/GNUmakefile b/ports/mutopia/JoplinS/maple/GNUmakefile
new file mode 100644
index 0000000000..cbf429ec85
--- /dev/null
+++ b/ports/mutopia/JoplinS/maple/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = maple
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/MilanL/GNUmakefile b/ports/mutopia/MilanL/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/MilanL/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/MilanL/milan-pavan2/GNUmakefile b/ports/mutopia/MilanL/milan-pavan2/GNUmakefile
new file mode 100644
index 0000000000..c079fcab8e
--- /dev/null
+++ b/ports/mutopia/MilanL/milan-pavan2/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = milan-pavan2
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/MozartWA/GNUmakefile b/ports/mutopia/MozartWA/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/MozartWA/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/MozartWA/KV447/GNUmakefile b/ports/mutopia/MozartWA/KV447/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/MozartWA/KV447/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/MozartWA/KV447/horn-concerto-3/GNUmakefile b/ports/mutopia/MozartWA/KV447/horn-concerto-3/GNUmakefile
new file mode 100644
index 0000000000..9b79642641
--- /dev/null
+++ b/ports/mutopia/MozartWA/KV447/horn-concerto-3/GNUmakefile
@@ -0,0 +1,5 @@
+zipped = true
+mutopia-examples = horn-concerto-3
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/PaganiniN/GNUmakefile b/ports/mutopia/PaganiniN/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/PaganiniN/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/PaganiniN/O1/GNUmakefile b/ports/mutopia/PaganiniN/O1/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/PaganiniN/O1/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/PaganiniN/O1/caprice-24/GNUmakefile b/ports/mutopia/PaganiniN/O1/caprice-24/GNUmakefile
new file mode 100644
index 0000000000..ac5e3f6d93
--- /dev/null
+++ b/ports/mutopia/PaganiniN/O1/caprice-24/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = caprice-24
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/Saint-SaensC/GNUmakefile b/ports/mutopia/Saint-SaensC/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/Saint-SaensC/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/Saint-SaensC/O94/GNUmakefile b/ports/mutopia/Saint-SaensC/O94/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/Saint-SaensC/O94/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/Saint-SaensC/O94/morceau-de-concert/GNUmakefile b/ports/mutopia/Saint-SaensC/O94/morceau-de-concert/GNUmakefile
new file mode 100644
index 0000000000..80ba34a0cb
--- /dev/null
+++ b/ports/mutopia/Saint-SaensC/O94/morceau-de-concert/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = morceau-de-concert
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SatieE/GNUmakefile b/ports/mutopia/SatieE/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/SatieE/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SatieE/gnossienne_1/GNUmakefile b/ports/mutopia/SatieE/gnossienne_1/GNUmakefile
new file mode 100644
index 0000000000..775dd7b4f9
--- /dev/null
+++ b/ports/mutopia/SatieE/gnossienne_1/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = gnossienne_1
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SatieE/gnossienne_2/GNUmakefile b/ports/mutopia/SatieE/gnossienne_2/GNUmakefile
new file mode 100644
index 0000000000..afb2bf6991
--- /dev/null
+++ b/ports/mutopia/SatieE/gnossienne_2/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = gnossienne_2
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SatieE/gnossienne_3/GNUmakefile b/ports/mutopia/SatieE/gnossienne_3/GNUmakefile
new file mode 100644
index 0000000000..37306e9330
--- /dev/null
+++ b/ports/mutopia/SatieE/gnossienne_3/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = gnossienne_3
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SatieE/gnossienne_4/GNUmakefile b/ports/mutopia/SatieE/gnossienne_4/GNUmakefile
new file mode 100644
index 0000000000..6857379747
--- /dev/null
+++ b/ports/mutopia/SatieE/gnossienne_4/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = gnossienne_4
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SatieE/gnossienne_5/GNUmakefile b/ports/mutopia/SatieE/gnossienne_5/GNUmakefile
new file mode 100644
index 0000000000..618d9c733f
--- /dev/null
+++ b/ports/mutopia/SatieE/gnossienne_5/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = gnossienne_5
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SatieE/gymnopedie_1/GNUmakefile b/ports/mutopia/SatieE/gymnopedie_1/GNUmakefile
new file mode 100644
index 0000000000..5c9955a0d8
--- /dev/null
+++ b/ports/mutopia/SatieE/gymnopedie_1/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = gymnopedie_1
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SatieE/gymnopedie_2/GNUmakefile b/ports/mutopia/SatieE/gymnopedie_2/GNUmakefile
new file mode 100644
index 0000000000..2ffb3221a2
--- /dev/null
+++ b/ports/mutopia/SatieE/gymnopedie_2/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = gymnopedie_2
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SatieE/gymnopedie_3/GNUmakefile b/ports/mutopia/SatieE/gymnopedie_3/GNUmakefile
new file mode 100644
index 0000000000..d4d7a87a9e
--- /dev/null
+++ b/ports/mutopia/SatieE/gymnopedie_3/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = gymnopedie_3
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SchubertF/D891/AnSylvia/GNUmakefile b/ports/mutopia/SchubertF/D891/AnSylvia/GNUmakefile
new file mode 100644
index 0000000000..d1cc51b6e6
--- /dev/null
+++ b/ports/mutopia/SchubertF/D891/AnSylvia/GNUmakefile
@@ -0,0 +1,4 @@
+mutopia-examples = AnSylvia
+ depth = ../../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SchubertF/D891/GNUmakefile b/ports/mutopia/SchubertF/D891/GNUmakefile
new file mode 100644
index 0000000000..0197f03abc
--- /dev/null
+++ b/ports/mutopia/SchubertF/D891/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/SchubertF/GNUmakefile b/ports/mutopia/SchubertF/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/SchubertF/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/mutopia/incoming/GNUmakefile b/ports/mutopia/incoming/GNUmakefile
new file mode 100644
index 0000000000..aa36317067
--- /dev/null
+++ b/ports/mutopia/incoming/GNUmakefile
@@ -0,0 +1,3 @@
+ depth = ../../..
+ include $(depth)/ports/ports.make
+ 
diff --git a/ports/ports.make b/ports/ports.make
new file mode 100644
index 0000000000..d02bca27bb
--- /dev/null
+++ b/ports/ports.make
@@ -0,0 +1,32 @@
+# mutopia/mutopia.make
+
+#
+# Magic: find and include LilyPond's StepMake rules
+#
+# 0: try local tree
+# 1: follow LILYPONDPREFIX
+# 2: try source tree in home
+# 3: try installed tree in $HOME
+# 4: try system installed tree
+# 5: try system installed tree
+#
+make-root=$(wildcard $(depth)/make)
+#
+make-root?=$(wildcard $(LILYPONDPREFIX)/make)
+make-root?=$(wildcard $(HOME)/usr/share/lilypond/make)
+make-root?=$(wildcard /usr/share/lilypond/make)
+make-root?=$(wildcard /usr/local/share/lilypond/make)
+# make-root=<LilyPond's datadir>/make
+
+ifeq ($(SUBDIRS),)
+SUBDIRS = $(filter-out .,$(shell find . -maxdepth 1 -type d -not -name 'out*'))
+endif
+
+ifneq ($(make-root),)
+LOCALSTEPMAKE_TEMPLATES=ports mutopia ly
+include $(make-root)/stepmake.make
+else
+$(error can't find LilyPond's stepmake installation)
+endif
+#
+
diff --git a/scripts/ly2dvi.py b/scripts/ly2dvi.py
index 461258cb97..8728e28f50 100644
--- a/scripts/ly2dvi.py
+++ b/scripts/ly2dvi.py
@@ -7,7 +7,16 @@
 '''
 TODO:
 
-  * --dependencies
+  * check --dependencies
+
+  * move versatile taglines, 
+  
+     \header {
+        beginfooter=\mutopiaPD
+        endfooter=\tagline  -> 'lily was here <version>'
+     }
+
+  * head/header tagline/endfooter
 
   * dvi from lilypond .tex output?  This is hairy, because we create dvi
     from lilypond .tex *and* header output.
@@ -43,7 +52,7 @@ extra_init = {
 	'latexheaders' : [],
 	'latexpackages' :  ['geometry'],
 	'papersize' : [],
-	'pagenumber' : [],
+	'pagenumber' : [1],
 	'textheight' : [], 
 	'linewidth' : [],
 	'orientation' : []
@@ -403,26 +412,35 @@ def global_latex_definition (tfiles, extra):
 		linewidth = 597
 	s = s + '\geometry{width=%spt%s,headheight=2mm,headsep=0pt,footskip=2mm,%s}\n' % (linewidth, textheight, orientation)
 
-	s= s + r'''
-\usepackage[latin1]{inputenc} 
+	s = s + r'''
+\usepackage[latin1]{inputenc}
 \input{titledefs}
 \makeatletter
-\renewcommand{\@oddfoot}{\parbox{\textwidth}{\mbox{}\thefooter}}%%
+\renewcommand{\@oddfoot}{\parbox{\textwidth}{\mbox{}\makelilypondfooter}}%
 '''
-	if extra['pagenumber'] and  extra['pagenumber'][-1]:
+	
+	if extra['pagenumber'] and extra['pagenumber'][-1] and extra['pagenumber'][-1] != 'no':
 		s = s + r'''
-		\renewcommand{\@oddhead}{\parbox{\textwidth}%%
-		{\mbox{}\small\theheader\hfill\textbf{\thepage}}}%%'''
+\renewcommand{\@oddhead}{\parbox{\textwidth}%
+    {\mbox{}\small\makelilypondheader\hfill\textbf{\thepage}}}
+'''
 	else:
-		s = s + '\\pagestyle{empty}'
-		
-	s = s + '\\begin{document}'
+		s = s + '\\pagestyle{empty}\n'
+
+	s = s + '\\makeatother\n'
+	s = s + '\\begin{document}\n'
+
 
 	first = 1
 	for t in tfiles:
 		s = s + one_latex_definition (t, first)
 		first = 0
-		
+
+	s = s + r'''
+\makeatletter
+\renewcommand{\@oddfoot}{\parbox{\textwidth}{\mbox{}\lilypondtagline}}%
+\makeatother
+'''
 	s = s + '\\end{document}'
 
 	return s
diff --git a/tex/titledefs.tex b/tex/titledefs.tex
index 92e3747de4..e8c4a1fec7 100644
--- a/tex/titledefs.tex
+++ b/tex/titledefs.tex
@@ -49,5 +49,16 @@
   \global\let\lilypondpiece\relax%
   \global\let\mustmakelilypondpiecetitle\undefined%
 }
+% header -- head ?
+\def\makelilypondheader
+{
+  \ifx\lilypondhead\undefined\else%
+    \parbox{\textwidth}{\mbox{}\lilypondhead}\fi
+}
+\def\makelilypondfooter
+{
+  \ifx\lilypondfooter\undefined\else%
+    \parbox{\textwidth}{\mbox{}\lilypondfooter}\fi
+}
 \endinput