--- /dev/null
+# Documentation/Makefile
+
+depth = ..
+
+NAME = documentation
+SUBDIRS=man tex pictures topdocs ntweb
+STEPMAKE_TEMPLATES=documentation
+README_TOP_FILES=NEWS DEDICATION TODO ANNOUNCE-0.1
+
+EXTRA_DIST_FILES = gnu-music-history TODO
+
+BLURBS=BLURB COPERTINA FLAPTEKST
+OUTTEXINFO_FILES = $(outdir)/topinfo.texinfo $(outdir)/mutopia.texinfo
+
+include $(depth)/make/stepmake.make
+
+default: do-doc
+
+# INFO_FILES = $(outdir)/$(package).info
+
+texinfo: $(OUTTEXINFO_FILES)
+
+++ /dev/null
-# Documentation/Makefile
-
-depth = ..
-
-NAME = Documentation
-SUBDIRS=man tex pictures topdocs
-MAKEFILES=Documentation
-README_TOP_FILES=NEWS DEDICATION TODO ANNOUNCE-0.1
-
-EXTRA_DIST_FILES = gnu-music-history TODO
-
-BLURBS=BLURB COPERTINA FLAPTEKST
-OUTTEXINFO_FILES = $(outdir)/topinfo.texinfo $(outdir)/mutopia.texinfo
-
-include $(depth)/make/Stepmake.make
-
-default: do-doc
-
-# INFO_FILES = $(outdir)/$(package).info
-
-texinfo: $(OUTTEXINFO_FILES)
-
--- /dev/null
+# Documentation/man/Makefile
+
+depth = ../..
+
+STEPMAKE_TEMPLATES=documentation
+SECTION=1
+MANTXT = $(addprefix $(outdir)/, $(addsuffix .txt,$(basename $(TEXINFO_FILES) .texinfo)))
+MANGROFF = $(addprefix $(outdir)/, $(addsuffix .$(SECTION),$(basename $(YO_FILES) .yo)))
+
+OUTTEXINFO_FILES= $(addprefix $(outdir)/, $(addsuffix .texinfo,$(basename $(YO_FILES) .yo)))
+
+OUT_DIST_FILES += $(MANGROFF)
+
+include $(depth)/make/stepmake.make
+
+default: $(MANGROFF)
+
+texinfo: $(OUTTEXINFO_FILES)
+
+
+
+INSTALLATION_OUT_FILES=$(MANGROFF)
+INSTALLATION_OUT_DIR=$(mandir)/man$(SECTION)
+
+include $(stepdir)/install-outfiles.make
+
+local-WWW: $(MANGROFF:.1=.html)
+ $(PYTHON) $(step-bindir)/ls-latex.py --package=$(topdir) --title 'Manual pages for LilyPond' $(YO_FILES) \
+ | sed "s!$(outdir)/!!g" > $(outdir)/index.html
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $(outdir)/index.html
+++ /dev/null
-# Documentation/man/Makefile
-
-depth = ../..
-
-MAKEFILES=Documentation
-SECTION=1
-MANTXT = $(addprefix $(outdir)/, $(addsuffix .txt,$(basename $(TEXINFO_FILES) .texinfo)))
-MANGROFF = $(addprefix $(outdir)/, $(addsuffix .$(SECTION),$(basename $(YO_FILES) .yo)))
-
-OUTTEXINFO_FILES= $(addprefix $(outdir)/, $(addsuffix .texinfo,$(basename $(YO_FILES) .yo)))
-
-OUT_DIST_FILES += $(MANGROFF)
-
-include $(depth)/make/Stepmake.make
-
-default: $(MANGROFF)
-
-texinfo: $(OUTTEXINFO_FILES)
-
-
-
-INSTALLATION_OUT_FILES=$(MANGROFF)
-INSTALLATION_OUT_DIR=$(mandir)/man$(SECTION)
-
-include $(stepdir)/Install_outfiles.make
-
-local-WWW: $(MANGROFF:.1=.html)
- $(PYTHON) $(step-bindir)/ls-latex.py --package=$(topdir) --title 'Manual pages for LilyPond' $(YO_FILES) \
- | sed "s!$(outdir)/!!g" > $(outdir)/index.html
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $(outdir)/index.html
--- /dev/null
+depth = ../..
+
+STEPMAKE_TEMPLATES=documentation
+TO_TOP_FILES=$(addprefix $(outdir)/, $(README_TOP_FILES))
+
+
+include $(depth)/make/stepmake.make
+
+default: do-doc
+
+local-WWW:
+
--- /dev/null
+mailto(daboys@bga.com)
+article(LilyPond Windows NT 4.0 Distribution)(nemail(Jeffrey B. Reed)(daboys@bga.com))(label(contents))
+sect(Windows NT Distribution)
+
+subsect(Introduction) label(introduction)
+
+This web page is dedicated to the distrubution of LilyPond for Windows
+NT 4.0. This package is covered under the GNU General Public License
+and all of the source and documentation are available on the official
+url(LilyPond
+Homepage)(http://www.cs.ruu.nl/people/hanwen/lilypond/index.html).
+
+LilyPond is the GNU Project music typesetter. This program can print
+beautiful sheet music from a music definition file. It can also play
+mechanical performances to a MIDI file. Features include multiple
+staffs, meters, clefs, keys, lyrics, versatile input language,
+cadenzas, beams, slurs, triplets, formatting scores, part
+extraction. It includes a nice font of musical symbols.
+
+link(Back to top)(contents)
+clearpage()
+
+
+subsect(NEWS) label(news)
+
+Version 1.0.3 is available
+
+link(Back to top)(contents)
+clearpage()
+
+
+subsect(Required packages) label(packages)
+
+LilyPond uses the code(TeX) package as its rendering engine. code(TeX)
+represents the state-of-the-art in computer typesetting. It is used to
+generate documentation, article, and book quality output. It is an
+assume tool to have in your toolbox.
+
+LilyPond uses a code(Python) script named code(ly2dvi) to render a
+professional quality music score. code(Python) is an interpreted,
+interactive, object-oriented programming language. It is often
+compared to code(Tcl), code(Perl), code(Scheme) or code(Java).
+
+itemize(
+ it()url(code(MiKTeX))(http://www.snafu.de/~cschenk/miktex/)
+ it()url(code(Python))(http://www.python.org)
+)
+
+link(Back to top)(contents)
+clearpage()
+
+
+subsect(Download) label(download)
+
+itemize(
+ it()lurl(lilypond-1.0.3.zip)
+)
+
+link(Back to top)(contents)
+clearpage()
+
+
+subsect(Installation) label(installation)
+
+itemize(
+ it()link(Download)(download) the distribution.
+ it()unzip
+ it()Set your path variable for lilypond and TeX
+ description(
+ dit(batch file)
+ In a batch file you can add the following entry: nl()
+ bf(set path=%path%em(LilyPond-dir)\bin;em(MiKTeX-dir)\miktex\bin)
+ dit(Windows Environment)
+ In the Windows environment you can select
+ properties menu of the My Computer icon. Click on
+ the environment tag and add the following to the user
+ variables path entry. nl()
+ bf(em(LilyPond-dir)\bin;em(MiKTeX-dir)\miktex\bin)
+ ) nl()
+ it() The first installation of LilyPond also requires these
+ additional steps:
+ description(
+ dit(LaTeX geometry package)
+ itemize(
+ it()url(download)(ftp://ctan.tug.org/tex-archive/macros/latex/contrib/supported/geometry.zip) the zip file to code(\Temp).
+ it()Extract the zip file into the LaTeX package area of
+ code(MiKTeX). This will be bf(em(MiKTeX-dir)\tex\latex)
+ it()From a Command Prompt change directory into geometry
+ directory that was just extracted.
+ it()In the geometry directory type bf(latex geometry.ins)
+ ) nl()
+ dit(Miscellaneous fonts)
+ itemize(
+ it()In your favorite editor create a file named
+ code(cmbx14.mf). Add the following lines: nl()
+ bf(design_size=14.4; ) nl()
+ bf(input b-cmbx;)
+ it()From a Command Prompt copy cmbx14.mf to the public font
+ area of MiKTeX: nl()
+ bf(copy cmbx14.mf em(MiKTeX-dir)\fonts\source\public\cm\base)
+ )
+ ) nl()
+ it()See the link(Running)(running) instructions below
+)
+
+link(Back to top)(contents)
+clearpage()
+
+
+subsect(Running LilyPond) label(running)
+link(Back to top)(contents)
+clearpage()
+
+subsect(LilyPond resources) label(resources)
+
+itemize(
+ it()url(LilyPond Homepage)
+ (http://www.cs.ruu.nl/people/hanwen/lilypond/index.html)
+ it()url(LilyPond Ftp Site)(ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/)
+ it()url(gnu-music-discuss mail archive)
+ (http://jab.org/mail/gnu-music-discuss@gnu.org/)
+ it()Please feel free to mail us at url(gnu-music-discuss)
+ (mailto:gnu-music-discuss@gnu.org)
+)
+
+link(Back to top)(contents)
+clearpage()
--- /dev/null
+depth = ../..
+
+STEPMAKE_TEMPLATES=documentation
+XPM_FILES=$(wildcard *.xpm)
+OUTGIF_FILES = $(addprefix $(outdir)/,$(XPM_FILES:.xpm=.gif))
+
+EXTRA_DIST_FILES= $(XPM_FILES)
+
+include $(depth)/make/stepmake.make
+
+gifs: $(OUTGIF_FILES)
+
+local-WWW: $(OUTGIF_FILES)
+
+icon: $(outdir)/lelie_icon.gif
+ cp $< $(depth)/$(outdir)/$(package)-icon.gif
+++ /dev/null
-depth = ../..
-
-MAKEFILES=Documentation
-XPM_FILES=$(wildcard *.xpm)
-OUTGIF_FILES = $(addprefix $(outdir)/,$(XPM_FILES:.xpm=.gif))
-
-EXTRA_DIST_FILES= $(XPM_FILES)
-
-include $(depth)/make/Stepmake.make
-
-gifs: $(OUTGIF_FILES)
-
-local-WWW: $(OUTGIF_FILES)
-
-icon: $(outdir)/lelie_icon.gif
- cp $< $(depth)/$(outdir)/$(package)-icon.gif
--- /dev/null
+# Documentation/tex/Makefile
+
+depth=../..
+
+DATA_FILES = $(wildcard *.data)
+datafiles = $(addprefix $(outdir)/,$(DATA_FILES:.data=.html))
+DOC_FILES = $(wildcard *.doc)
+DVI_FILES = $(addprefix $(outdir)/,$(DOC_FILES:.doc=.dvi) $(YO_FILES:.yo=.dvi))
+OUTDOC_FILES = $(addprefix $(outdir)/, $(DOC_FILES))
+EL_FILES = $(wildcard *.el)
+BIB_FILES= $(wildcard *.bib)
+EXTRA_DIST_FILES= $(BIB_FILES) $(DOC_FILES) $(DATA_FILES) $(EL_FILES)
+HTML_FILES = $(addprefix $(outdir)/, $(YO_FILES:.yo=.html))
+PS_FILES = $(DVI_FILES:.dvi=.ps)
+
+STEPMAKE_TEMPLATES=documentation
+LOCALSTEPMAKE_TEMPLATES=lilypond mudela
+
+
+include $(depth)/make/stepmake.make
+
+dvi: $(DVI_FILES)
+
+ps: $(PS_FILES)
+
+# urg
+default:
+
+GENHTMLS = engraving colorado vocabulary computer-notation
+OUTGENHTMLS = $(addprefix $(outdir)/, $(GENHTMLS:%=%.html))
+
+
+$(outdir)/glossary.dvi: $(outdir)/vocabulary.tex
+$(outdir)/glossary.html: $(OUTGENHTMLS)
+
+local-WWW: $(HTML_FILES) $(OUTDOC_FILES:.doc=.ps.gz) $(OUTYO_FILES:.yo=.latex) $(OUTYO_FILES:.yo=.ps.gz) $(addprefix $(outdir)/, $(BIB_FILES:.bib=.html)) $(datafiles)
+ $(PYTHON) $(step-bindir)/ls-latex.py --package=$(topdir) --title 'LaTeX documents about LilyPond' \
+ $(YO_FILES) $(OUTYO_FILES:.yo=.latex) $(BIB_FILES) $(DOC_FILES) \
+ | sed "s!$(outdir)/!!g" > $(outdir)/index.html
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $(outdir)/index.html
+
+$(outdir)/%.bib: %.bib
+ ln -f $< $@
+
+$(outdir)/%.html: %.bib
+ bib2html $< $@
+
+# Yeah right:
+# make -k out/mudela.dvi => cp -f out/vocabulary.tex out/mudela.dvi
+
+#out/%: $(outdir)/%
+# cp -f $< $@
+++ /dev/null
-# Documentation/tex/Makefile
-
-depth=../..
-
-DATA_FILES = $(wildcard *.data)
-datafiles = $(addprefix $(outdir)/,$(DATA_FILES:.data=.html))
-DOC_FILES = $(wildcard *.doc)
-DVI_FILES = $(addprefix $(outdir)/,$(DOC_FILES:.doc=.dvi) $(YO_FILES:.yo=.dvi))
-OUTDOC_FILES = $(addprefix $(outdir)/, $(DOC_FILES))
-EL_FILES = $(wildcard *.el)
-BIB_FILES= $(wildcard *.bib)
-EXTRA_DIST_FILES= $(BIB_FILES) $(DOC_FILES) $(DATA_FILES) $(EL_FILES)
-HTML_FILES = $(addprefix $(outdir)/, $(YO_FILES:.yo=.html))
-PS_FILES = $(DVI_FILES:.dvi=.ps)
-
-MAKEFILES=Documentation
-LOCALMAKEFILES=Lilypond
-
-
-include $(depth)/make/Stepmake.make
-
-dvi: $(DVI_FILES)
-
-ps: $(PS_FILES)
-
-# urg
-default:
-
-GENHTMLS = engraving colorado vocabulary computer-notation
-OUTGENHTMLS = $(addprefix $(outdir)/, $(GENHTMLS:%=%.html))
-
-
-$(outdir)/glossary.dvi: $(outdir)/vocabulary.tex
-$(outdir)/glossary.html: $(OUTGENHTMLS)
-
-local-WWW: $(HTML_FILES) $(OUTDOC_FILES:.doc=.ps.gz) $(OUTYO_FILES:.yo=.latex) $(OUTYO_FILES:.yo=.ps.gz) $(addprefix $(outdir)/, $(BIB_FILES:.bib=.html)) $(datafiles)
- $(PYTHON) $(step-bindir)/ls-latex.py --package=$(topdir) --title 'LaTeX documents about LilyPond' \
- $(YO_FILES) $(OUTYO_FILES:.yo=.latex) $(BIB_FILES) $(DOC_FILES) \
- | sed "s!$(outdir)/!!g" > $(outdir)/index.html
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $(outdir)/index.html
-
-$(outdir)/%.bib: %.bib
- ln -f $< $@
-
-$(outdir)/%.html: %.bib
- bib2html $< $@
-
-# Yeah right:
-# make -k out/mudela.dvi => cp -f out/vocabulary.tex out/mudela.dvi
-
-#out/%: $(outdir)/%
-# cp -f $< $@
--- /dev/null
+depth = ../..
+
+BLURBS=BLURB COPERTINA FLAPTEKST
+
+STEPMAKE_TEMPLATES=documentation yolily-topdoc
+LOCALSTEPMAKE_TEMPLATES=lilypond
+
+include $(depth)/make/stepmake.make
+
+++ /dev/null
-# Documentation/topdocs/Makefile
-
-depth = ../..
-
-MAKEFILES=Documentation
-LOCALMAKEFILES=Lilypond
-BLURBS=BLURB COPERTINA FLAPTEKST
-
-TO_TOP_FILES=$(addprefix $(outdir)/, $(README_TOP_FILES))
-
-
-include $(depth)/make/Stepmake.make
-
-default: do-doc
-
-
-# INFO_FILES = $(outdir)/$(package).info
-
-
-# urg
-$(outdir)/%.html: %.yo
- $(YODL2HTML) -doutdir=$(outdir) --live-data=3 -o $@.in $<
- $(sed-version) < $@.in > $@
- rm -f $@.in
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=index.html --news=$(depth)/NEWS $@
-
-local-WWW:
- -cp $(outdir)/*gif $(outdir)/index.html $(depth) # don't fail if not making website
-
-
-copy-to-top:
- $(foreach i, $(TO_TOP_FILES), \
- cp $(i) $(depth)/ && ) true
version, then this is version is *not* meant for producing nice output
(but to keep your patchsets up to date). It might not even compile.
+The same goes for a version with a 4th version number, eg
+
+ 1.2.3.mypatch2
+
+It will be safer if you download 1.2.3 or wait for 1.2.4.
+
sect(REQUIREMENTS)
description(
dit(lurl(http://www.cs.uu.nl/people/hanwen/lilypond/))Han-Wen's site.
dit(lurl(http://www.xs4all.nl/~jantien/lilypond/))Jan's site.
+dit(lurl(http://www.realtime.net/~daboys/lilypond/))Jeff's Windows NT Distribution site.
)
nsubsubsect(Mirrors)
+pl 4
+pl 3.mb2
+ - Changed text script alignment: center -> left
+ - TeX commands counts as one character when calculating
+ the length of a Text_def
+
+pl 3.jbr2
+ - Documentation/topdocs/index.yo: Added link to NT dist page
+ - Documentation/ntweb/: Added Makefile and index.yo to build the
+ NT dist page
+
+pl 3.hwn1
+ - stepmake hacking
+
+pl 3.uu1
+ - stepmake MAKEFILES -> STEPMAKE_TEMPLATES
+ - count \texcommands in tex string
+
+
pl 3.jcn1
- - bf: website: empty toplevel readme's
- - bf: xs4all (again?)
- - can't administer ftp site now: put patch into website
+ - bf: website: empty toplevel readme's
+ - bf: xs4all (again?)
+ - can't administer ftp site now: put patch into website
+
+
+pl 3.jbr1
+ - stepmake/stepmake/Executable_targets: UNIX cross-compile doesn't
+ work with $(DOTEXE) on source of install command.
+ - stepmake/Generic_targets: creating multiple dirs with mkdir
+ requires -p option
+ - scripts/ly2dvi32.py: General and Winnt specific fixes
+
+
+*********
+pl 3
pl 2.uu1
- - solaris 2.6 compile/make website fixes.
- - rm'd WWW.make
- - stepmake .43
- - pcnov095.win.tue.nl -> ftp.cs.uu.nl
-
+ - solaris 2.6 compile/make website fixes.
+ - rm'd WWW.make
+ - stepmake .43
+ - pcnov095.win.tue.nl -> ftp.cs.uu.nl
+
pl 2.hwn1
- - mi2mu naming of track output
- - bf: do key restore sign only once
- - ly2dvi32 preliminary version (JBR)
-
-*********
-pl 2
+ - mi2mu naming of track output
+ - bf: do key restore sign only once
+ - ly2dvi32 preliminary version (JBR)
- bf index.html link
- bf mudela-book.py
+
+
+**********
+pl 2
- scalar compile stuff
- bf install directory
- YODL note
- dist AFMs and manpages
- split up mudela.yo in glossary.yo, tutorial.yo and refman.yo
-pl 1.jcn2
- - renamed -alto -> viola
- - bf: avant-gardish six preludes
- - bf: ly2dvi warnings
-
pl 1.jcn1
- www.digicash.com www.xs4all.nl
- fake msgfmt
version, then this is version is *not* meant for producing nice output
(but to keep your patchsets up to date). It might not even compile.
+The same goes for a version with a 4th version number, eg
+
+ 1.2.3.mypatch2
+
+It will be safer if you download 1.2.3 or wait for 1.2.4.
2: REQUIREMENTS
If you have received this file as part of a DOS/Window32 distribution
(lilypond-*.zip), then it is advisable to also download the source
package, since it might contain more documentation
-ftp://pcnov095.win.tue.nl/pub/lilypond/
+ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/
If you decide to build LilyPond from source, please read the INSTALL.txt
document first, especially the Windows NT/95 section.
Most of the items are marked in the code as well, with full explanation.
grep for TODO and ugh/ugr/urg
+ * add ex-dimension to feta-params.
+
+
+ * strip EXEs before installing
+
+ * text continuationss
+
* fix plain tex footer line.
* portable libs for flowerlib/lilylib
* make separate translation property list.
- * key undo.
-
* make GNU style webpages.
* There seems to be an install error in lilypond-1.0.0. Most of the
PACKAGE_NAME=LilyPond
MAJOR_VERSION=1
MINOR_VERSION=0
-PATCH_LEVEL=3
-MY_PATCH_LEVEL=jcn1
+PATCH_LEVEL=4
+MY_PATCH_LEVEL=
# use the above to send patches, always empty for released version:
# please don't move these comments up; the patch should fail if
AC_OUTPUT($CONFIGFILE.make:config.make.in)
rm -f Makefile
- cp make/Toplevel.make.in ./Makefile
+ cp make/toplevel.make.in ./Makefile
chmod 444 Makefile
])
then
true
else
- AC_STEPMAKE_WARN(can't find g++ 2.7, 2.8 or egcs)
+ AC_STEPMAKE_WARN(can\'t find g++ 2.7, 2.8 or egcs)
fi
])
--- /dev/null
+# bin/Makefile
+
+depth = ..
+STEPMAKE_TEMPLATES=script
+
+include $(depth)/make/stepmake.make
+
+
+
+
+
+
+++ /dev/null
-# bin/Makefile
-
-depth = ..
-MAKEFILES=Script
-
-include $(depth)/make/Stepmake.make
-
-
-
-
-
-
true
else
- echo "configure: warning: can't find g++ 2.7" 1>&2
+ echo "configure: warning: can\'t find g++ 2.7" 1>&2
warn_b=yes
fi
ac_given_srcdir=$srcdir
-trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.hh:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
if test "${CONFIG_HEADERS+set}" != set; then
EOF
cat >> $CONFIG_STATUS <<EOF
- CONFIG_HEADERS="$CONFIGFILE.hh:config.hh.in"
+ CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
EOF
cat >> $CONFIG_STATUS <<\EOF
fi
rm -f Makefile
- cp make/Toplevel.make.in ./Makefile
+ cp make/toplevel.make.in ./Makefile
chmod 444 Makefile
# Bootstrap the init proces. List a file identifies your package.
AC_INIT(make/lilypond.lsm.in)
-AC_CONFIG_HEADER($CONFIGFILE.hh:config.hh.in)
+AC_CONFIG_HEADER($CONFIGFILE.h:config.hh.in)
# Bootstrap StepMake configure
AC_STEPMAKE_INIT
--- /dev/null
+# debian/Makefile
+
+depth = ..
+
+NAME= debian
+BLURBS=BLURB
+AT_FILES = $(BLURBS) #
+at-dir = $(outdir)/
+at-ext =
+
+EXTRA_DIST_FILES = README.Debian TODO $(CONF_FILES) $(OUT_DIST_FILES) control.foka
+CONF_FILES=changelog copyright postinst postrm rules watch
+OUTCONF_FILES=$(addprefix $(outdir)/, $(basename $(CONF_FILES))) $(OUTIN_FILES)
+OUT_DIST_FILES = $(OUTIN_FILES)
+
+STEPMAKE_TEMPLATES = yolily-debian
+include $(depth)/make/stepmake.make
+
+++ /dev/null
-# debian/Makefile
-
-depth = ..
-
-NAME= debian
-BLURBS=BLURB
-AT_FILES = $(BLURBS) #
-at-dir = $(outdir)/
-at-ext =
-
-EXTRA_DIST_FILES = README.Debian TODO $(CONF_FILES) $(OUT_DIST_FILES) control.foka
-CONF_FILES=changelog copyright postinst postrm rules watch
-OUTCONF_FILES=$(addprefix $(outdir)/, $(basename $(CONF_FILES))) $(OUTIN_FILES)
-OUT_DIST_FILES = $(OUTIN_FILES)
-
-include $(depth)/make/Stepmake.make
-
-
-default: $(OUTCONF_FILES)
-
-
-$(outdir)/%: %
- rm -f $@
- ln $< $@
-
-$(outdir)/control: $(addprefix $(outdir)/, $(BLURBS))
-
-$(outdir)/%: $(doc-dir)/%.in
- rm -f $@
- cat $< | sed 's%^% %' > $@
-
-localdist: default
--- /dev/null
+# title top level makefile for FlowerLib
+# file flower/Makefile
+
+# should reinstate versioning if shared libs are enabled.
+
+depth = ..
+
+NAME = flower
+MODULE_NAME = flower
+SUBDIRS = include
+
+SCRIPTS =
+README_FILES = NEWS-1.0 NEWS-1.1.46 README TODO
+EXTRA_DIST_FILES= VERSION $(README_FILES) $(SCRIPTS)
+STEPMAKE_TEMPLATES=library c++
+
+
+
+include $(depth)/make/stepmake.make
+
+foo:
+ echo $(DIST_FILES) $(O_FILES) $(OBJECT_FILES)
+
+++ /dev/null
-# title top level makefile for FlowerLib
-# file flower/Makefile
-
-# should reinstate versioning if shared libs are enabled.
-
-depth = ..
-
-NAME = flower
-MODULE_NAME = flower
-SUBDIRS = include
-
-SCRIPTS =
-README_FILES = NEWS-1.0 NEWS-1.1.46 README TODO
-EXTRA_DIST_FILES= VERSION $(README_FILES) $(SCRIPTS)
-MAKEFILES=Library C++
-
-
-
-include $(depth)/make/Stepmake.make
-
--- /dev/null
+# flower/lib/include/Makefile
+
+depth = ../..
+
+STEPMAKE_TEMPLATES=c++
+
+include $(depth)/make/stepmake.make
+
+
+++ /dev/null
-# flower/lib/include/Makefile
-
-depth = ../..
-
-MAKEFILES=C++
-
-include $(depth)/make/Stepmake.make
-
-
--- /dev/null
+# init/Makefile
+
+depth = ..
+
+INI_FILES = $(FLY_FILES) $(LY_FILES)
+# DIST_FILES = Makefile $(INI_FILES)
+
+INSTALLATION_DIR=$(datadir)
+INSTALLATION_FILES=$(INI_FILES)
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+
+
+include $(stepdir)/installfiles.make
+
+++ /dev/null
-# init/Makefile
-
-depth = ..
-
-INI_FILES = $(FLY_FILES) $(LY_FILES)
-# DIST_FILES = Makefile $(INI_FILES)
-
-INSTALLATION_DIR=$(datadir)
-INSTALLATION_FILES=$(INI_FILES)
-
-LOCALMAKEFILES=Mutopia
-
-include $(depth)/make/Stepmake.make
-
-
-include $(stepdir)/Installfiles.make
-
slurydirection 0 stem direction free \slurboth
slurydirection 1 force stem up \slurup
+textalignment -1 left alignment of text
+textalignment 0 center alignment of text
+textalignment 1 right alignment of text
+
[Score?]
beamslopedamping 0 no damping \beamslopeproportional
beamslopedamping 1 damping1) \beamslopedamped
--- /dev/null
+# input/Makefile
+
+depth = ..
+
+SUBDIRS=test bugs
+
+examples=example-3 twinkle-pop praeludium-fuga-E twinkle
+flexamples=example-1 example-2
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+
+include $(depth)/make/stepmake.make
+
+local-check: $(addsuffix .dvi, $(addprefix $(outdir)/, $(examples)))
+
+++ /dev/null
-# input/Makefile
-
-depth = ..
-
-SUBDIRS=test bugs
-
-examples=example-3 twinkle-pop praeludium-fuga-E twinkle
-flexamples=example-1 example-2
-
-LOCALMAKEFILES=Mutopia
-
-
-include $(depth)/make/Stepmake.make
-
-local-check: $(addsuffix .dvi, $(addprefix $(outdir)/, $(examples)))
-
--- /dev/null
+# input/bugs/Makefile
+
+depth = ../..
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+include $(depth)/make/stepmake.make
+
+
+++ /dev/null
-# input/bugs/Makefile
-
-depth = ../..
-
-LOCALMAKEFILES=Mutopia
-include $(depth)/make/Stepmake.make
-
-
--- /dev/null
+# input/test/Makefile
+
+depth = ../..
+examples=font20 hara-kiri grace mark denneboom
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+
+++ /dev/null
-# input/test/Makefile
-
-depth = ../..
-examples=font20 hara-kiri grace mark denneboom
-LOCALMAKEFILES=Mutopia
-
-include $(depth)/make/Stepmake.make
-
--- /dev/null
+# intl/Makefile
+
+depth = ..
+
+NAME = intl
+
+
+# MODULE_CXXFLAGS += -D_REENTRANT
+MAINTARGET = $(LIBRARY)# huh?
+
+SED_FILES = $(wildcard *.sed)
+
+# should be set by configure...
+URG_DEFINES = -DGNULOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(localedir):\"
+EXTRA_CFLAGS = -I. $(URG_DEFINES)
+
+EXTRA_DIST_FILES = Makefile.in.dist cat-compat.c.dist ChangeLog libintl.inst $(SED_FILES)
+
+
+
+STEPMAKE_TEMPLATES=c
+include $(depth)/make/stepmake.make
+
+default:
+ @echo "to install libintl type 'make lib; make install-lib'"
+
+lib: $(LIBRARY)
+LIBINTL = $(LIBRARY)
+
+install-lib: $(LIBINTL)
+# localinstall: $(LIBINTL)
+ $(INSTALL) -d $(includedir)
+# $(INSTALL) libintl.h $(includedir)
+ $(INSTALL) libintl.inst $(includedir)/libintl.h
+ifeq ($(LIB_SUFFIX),.so)
+ $(INSTALL) -d $(libdir)
+ $(INSTALL) $(LIBINTL).$(VERSION) $(libdir)
+ ln -s $(LIB_PREFIX)intl$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)intl$(LIB_SUFFIX).$(MAJOR_VERSION)
+ ln -s $(LIB_PREFIX)intl$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)intl$(LIB_SUFFIX)
+else
+ $(INSTALL) -d $(libdir)
+ echo libintl: $(LIBINTL)
+ echo libdir: $(libdir)
+ $(INSTALL) $(LIBINTL) $(libdir)
+endif
+
+localuninstall:
+ rm -f $(inludedir)/libintl.h
+ rm -f $(libdir)/libintl.{so*,a}
+
+++ /dev/null
-# intl/Makefile
-
-depth = ..
-
-NAME = intl
-
-include $(depth)/make/Stepmake.make
-include $(stepdir)/C.make
-
-
-# MODULE_CXXFLAGS += -D_REENTRANT
-MAINTARGET = $(LIBRARY)# huh?
-
-SED_FILES = $(wildcard *.sed)
-
-# should be set by configure...
-URG_DEFINES = -DGNULOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(localedir):\"
-EXTRA_CFLAGS = -I. $(URG_DEFINES)
-
-EXTRA_DIST_FILES = Makefile.in.dist cat-compat.c.dist ChangeLog libintl.inst $(SED_FILES)
-
-default:
- @echo "to install libintl type 'make lib; make install-lib'"
-
-lib: $(LIBRARY)
-LIBINTL = $(LIBRARY)
-
-install-lib: $(LIBINTL)
-# localinstall: $(LIBINTL)
- $(INSTALL) -d $(includedir)
-# $(INSTALL) libintl.h $(includedir)
- $(INSTALL) libintl.inst $(includedir)/libintl.h
-ifeq ($(LIB_SUFFIX),.so)
- $(INSTALL) -d $(libdir)
- $(INSTALL) $(LIBINTL).$(VERSION) $(libdir)
- ln -s $(LIB_PREFIX)intl$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)intl$(LIB_SUFFIX).$(MAJOR_VERSION)
- ln -s $(LIB_PREFIX)intl$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)intl$(LIB_SUFFIX)
-else
- $(INSTALL) -d $(libdir)
- echo libintl: $(LIBINTL)
- echo libdir: $(libdir)
- $(INSTALL) $(LIBINTL) $(libdir)
-endif
-
-localuninstall:
- rm -f $(inludedir)/libintl.h
- rm -f $(libdir)/libintl.{so*,a}
-
.c.o:
$(COMPILE) $<
-INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib
+INCLUDEs = -i.. -i. -i$(top_srcdir)/intl -i$(top_srcdir)/lib
all: libintl.a
--- /dev/null
+# lib/Makefile
+
+depth = ..
+
+NAME = lily
+SUBDIRS = include
+# MODULE_LIBS= $(depth)/flower
+MODULE_CXXFLAGS += -D_REENTRANT
+STEPMAKE_TEMPLATES=library c++
+
+include $(depth)/make/stepmake.make
+
+
+++ /dev/null
-# lib/Makefile
-
-depth = ..
-
-NAME = lily
-SUBDIRS = include
-# MODULE_LIBS= $(depth)/flower
-MODULE_CXXFLAGS += -D_REENTRANT
-MAKEFILES=Library C++
-
-include $(depth)/make/Stepmake.make
-
-
--- /dev/null
+# lib/include/Makefile
+
+depth = ../..
+STEPMAKE_TEMPLATES=c++
+
+include $(depth)/make/stepmake.make
+
+
+
+++ /dev/null
-# lib/include/Makefile
-
-depth = ../..
-MAKEFILES=C++
-
-include $(depth)/make/Stepmake.make
-
-
-
--- /dev/null
+# title makefile for lilypond
+# file lily/Makefile
+
+depth = ..
+
+NAME = lilypond
+SUBDIRS = include
+
+EXTRA_DIST_FILES = VERSION
+MODULE_LIBS=$(depth)/lib $(depth)/flower
+
+STEPMAKE_TEMPLATES= c++ executable
+
+include $(depth)/make/stepmake.make
+
+# force these: Make can't know these have to be generated in advance
+$(outdir)/my-lily-parser.o: $(outdir)/parser.hh
+$(outdir)/my-lily-lexer.o: $(outdir)/parser.hh
+$(outdir)/lexer.o: $(outdir)/parser.hh
+
+
+$(outdir)/lily-version.o: $(outdir)/version.hh
+
+$(outdir)/main.o: $(outdir)/BLURB.hh $(outdir)/COPERTINA.hh $(outdir)/FLAPTEKST.hh
+
+
+# ugh . -> $(outdir)
+VERSION: $(depth)/VERSION
+ cp $< $@
+
+++ /dev/null
-# title makefile for lilypond
-# file lily/Makefile
-
-depth = ..
-
-NAME = lilypond
-SUBDIRS = include
-
-EXTRA_DIST_FILES = VERSION
-MODULE_LIBS=$(depth)/lib $(depth)/flower
-
-MAKEFILES=C++ Executable
-
-include $(depth)/make/Stepmake.make
-
-# force these: Make can't know these have to be generated in advance
-my-lily-lexer.cc: $(outdir)/parser.hh
-$(outdir)/lexer.o: $(outdir)/parser.hh
-
-
-$(outdir)/lily-version.o: $(outdir)/version.hh
-
-$(outdir)/main.o: $(outdir)/BLURB.hh $(outdir)/COPERTINA.hh $(outdir)/FLAPTEKST.hh
-
-
-# ugh . -> $(outdir)
-VERSION: $(depth)/VERSION
- cp $< $@
-
PACKAGE_NAME=LilyPond
MAJOR_VERSION=1
MINOR_VERSION=0
-PATCH_LEVEL=3
-MY_PATCH_LEVEL=jcn1
+PATCH_LEVEL=4
+MY_PATCH_LEVEL=
# use the above to send patches, always empty for released version:
# please don't move these comments up; the patch should fail if
--- /dev/null
+# lily/include/Makefile
+
+depth = ../..
+STEPMAKE_TEMPLATES=c++
+
+include $(depth)/make/stepmake.make
+
+
+++ /dev/null
-# lily/include/Makefile
-
-depth = ../..
-MAKEFILES=C++
-
-include $(depth)/make/Stepmake.make
-
-
Text_def();
virtual void print() const;
virtual Interval width (Paper_def*) const;
+private:
+ Real guess_width_f(Atom&) const;
};
#endif // TEXT_DEF_HH
{
td_p->style_str_ = style;
}
+ Scalar alignment = get_property ("textalignment");
+ if (alignment.isnum_b())
+ {
+ td_p->align_dir_= (Direction)(int)alignment;
+ }
lyric_item_p_ = new Text_item (td_p);
gen_script_def:
text_def {
$$ = $1;
- ((Text_def*) $$)->align_dir_ = CENTER; /* UGH */
+ ((Text_def*) $$)->align_dir_ = LEFT; /* UGH */
}
| mudela_script {
$$ = $1;
{
td_l->style_str_= style;
}
+ Scalar alignment = get_property ("textalignment");
+ if (alignment.isnum_b())
+ {
+ td_l->align_dir_= (Direction)(int)alignment;
+ }
}
typeset_element (script_p);
}
#include "molecule.hh"
#include "text-def.hh"
#include "dimension.hh"
+#include <ctype.h>
Direction
Text_def::staff_dir () const
return DOWN;
}
+Real
+Text_def::guess_width_f(Atom& a) const
+{
+ // Count each TeX command as one character, ugh
+ int index, length=0;
+ int total_length=text_str_.length_i();
+ const char* str=text_str_.ch_C();
+ for (index=0;index<total_length;index++) {
+ length++;
+ if (str[index]=='\\')
+ for (index++;(index < total_length) && isalpha(str[index]);index++)
+ ;
+ }
+ return length * a.dim_.x ().length (); // ugh
+}
+
Interval
Text_def::width (Paper_def * p) const
{
Atom a = get_atom (p,CENTER);
- /* TODO: check string for \texcommand
- */
- Real guess_width_f = text_str_.length_i() * a.dim_.x ().length (); // ugh
- Interval i (0, guess_width_f);
+ Interval i (0, guess_width_f(a));
i += - (align_dir_ + 1)* i.center();
return i;
}
{
Atom a= p->lookup_l(0)->text (style_str_, text_str_);
- Real guess_width_f = text_str_.length_i() * a.dim_.x ().length (); // ugh
- a.translate_axis (-(align_dir_ + 1)* guess_width_f/ 2, X_AXIS);
+ a.translate_axis (-(align_dir_ + 1)* guess_width_f (a) / 2, X_AXIS);
return a;
}
+++ /dev/null
-# Docrules.make
-
-include $(make-dir)/Mudela_rules.make
--- /dev/null
+# file make/Makefile
+
+depth = ..
+STEPMAKE_TEMPLATES=makedir
+BLURBS=BLURB # COPERTINA FLAPTEKST
+
+include $(depth)/make/stepmake.make
+
+
+
+++ /dev/null
-
-export PATH:=$(topdir)/lily/out:$(topdir)/buildscripts/out:$(PATH)
-export MFINPUTS:=$(topdir)/mf/:.:$(MFINPUTS)::
-export TEXINPUTS:=$(topdir)/tex/:.:$(TEXINPUTS)::
-export LILYINCLUDE=$(topdir)/init:$(topdir)/mf/out
-
+++ /dev/null
-# file make/Makefile
-
-depth = ..
-BLURBS=BLURB COPERTINA FLAPTEKST
-MAKEFILES=Makedir
-
-
-include $(depth)/make/Stepmake.make
-
-
-
-
-
+++ /dev/null
-# Mudela_rules.make
-
-.SUFFIXES: .doc .dvi .mudtex
-
-$(outdir)/%.dvi: $(outdir)/%.mudtex
- latex '\nonstopmode \input $<'
- mv $(notdir $@) $(outdir)
-
-$(outdir)/%.mudtex: %.doc
- $(PYTHON) $(depth)/scripts/mudela-book.py --outdir=$(outdir)/ --outname=$(notdir $@) $<
-
+++ /dev/null
-# make/Mutopia.make
-
-
+++ /dev/null
-
-
-$(outdir)/%.gif: $(outdir)/%.ps
- sh $(buildscripts)/ps-to-gifs.sh $<
- -mv $(name-stem)-page*.gif $(outdir)/
- touch $@
-
-$(outdir)/%.ly.txt: %.ly
- ln -f $< $@
-
-$(outdir)/%.fly.txt: %.fly
- ln -f $< $@
-
-
-
-# don't junk intermediate .dvi files. They're easier to view than
-# .ps or .gif
-.PRECIOUS: $(outdir)/%.dvi
-
-$(outdir)/%.dvi: %.ly
- sh $(depth)/scripts/ly2dvi.sh -S $(topdir) -o $(outdir) $<
- -mv $(basename $<).midi $(outdir)
-
-$(outdir)/%.dvi: %.fly
- sh $(depth)/scripts/ly2dvi.sh -S $(topdir) -o $(outdir) $<
- -mv $(basename $<).midi $(outdir)
+++ /dev/null
-
-
-all: $(OUT_FILES)
-
-
-local-WWW: $(ly_examples) $(fly_examples) $(ps_examples) $(gif_examples)
- (cd $(outdir); $(PYTHON) ../$(buildscripts)/mutopia-index.py --package=$(topdir) --prefix=../ --suffix=/$(outdir) $(html_subdirs) $(all_examples))
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/$(outdir)/index.html $(outdir)/index.html
- echo $^ > $(depth)/wwwlist
+++ /dev/null
-
-# UGH UGH
-include $(make-dir)/Lilypond_vars.make
-
-FLY_FILES = $(wildcard *.fly)
-LY_FILES = $(wildcard *.ly)
-M4_FILES = $(wildcard *.m4)
-LYM4_FILES = $(wildcard *.lym4)
-EXTRA_DIST_FILES += $(FLY_FILES) $(LY_FILES) $(M4_FILES) $(LYM4_FILES)
-
-# WWW.make
-
-ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly.txt, $(examples)))
-fly_examples=$(addprefix $(outdir)/, $(addsuffix .fly.txt, $(flexamples)))
-
-all_examples=$(flexamples) $(examples)
-
-ps_examples=$(addprefix $(outdir)/, $(addsuffix .ps.gz, $(all_examples)))
-gif_examples=$(addprefix $(outdir)/, $(addsuffix .gif, $(all_examples)))
-
-html_subdirs=$(addprefix --subdirs ,$(SUBDIRS))
-
-
-name-stem= $(notdir $(basename $<))
-
-OUT_FILES = $(addprefix $(outdir)/,$(M4_FILES:%.m4=%)) \
- $(addprefix $(outdir)/,$(LYM4_FILES:%.lym4=%.ly))
+++ /dev/null
-# title package specific rules
-# file make/Rules.make
-
-# urg
-$(outdir)/%.ly: %.lym4
- $(M4) $< | sed "s/\`/,/g" > $@
-
-$(outdir)/%: %.in
- rm -f $@
- cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
-
-
-
-include $(depth)/make/Substitute.make
-
-# $(depth)/make/$(outdir)/%.make: $(depth)/make/%.in
-# rm -f $@
-# echo "$(basename $(@F)) = \\" > $@
-# cat $< | $(sed-newline) | $(sed-endline) | $(sed-quotes) >> $@
-# echo >> $@
-# echo >> $@
-
-# HUH???
-$(outdir)/%.hh: $(doc-dir)/%.in
- rm -f $@
- echo '_(' > $@
- cat $< | $(sed-quotes) | $(sed-newline) | $(sed-quote-line) >> $@
- echo ');' >> $@
-
+++ /dev/null
-0.1.76
-0.1.76.jcn1
-0.1.77
-0.1.77.uu1
-0.1.77.hwjc
-0.1.77.jcn1
-0.1.77.jcn2
-0.1.77.hwn1
-0.1.78
-0.1.78.hwn1
-0.1.78.jcn1
-0.1.78.jcn2
-0.1.79
-0.1.79.hwn1
-0.1.79.jcn2
-0.1.80
-0.1.80.jcn1
-0.1.80.eb1
-0.1.80.hwn1
-0.1.81
-0.1.81.jcn1
-0.1.81.jbr2
-0.1.81.jcn2
-0.1.81.jbr1
-0.1.81.jcn1
-0.1.81.hwn1
-0.1.81.hwn2
-0.1.82
-0.1.82.jcn1
-0.1.82.jcn2
-0.1.82.jcn3
-0.1.82.jcn4
-0.1.82.jcn5
-0.1.82.hwn1
-0.1.82.hwn2
-0.1.83
-0.1.83.hwn1
-0.1.83.jcn1
-0.1.83.uu1
-0.1.83.hwn1
-0.1.83.hwn2
-0.1.83.hwn3
-0.1.83.hwn4
-0.1.83.hwn5
-0.1.83.jcn4
-0.1.84
-0.1.84.jcn1
-0.1.84.hwn1
-0.1.84.jcn2
-0.1.84.hwn2
-0.1.84.jcn3
-0.1.84.hwn4
-0.1.85
-0.1.85.jcn1
-0.1.85.hwn1
-0.1.85.jcn2
-1.0.0
-1.0.0.hwn1
-1.0.0.hwn2
-1.0.1
-1.0.1.jbr1
-1.0.1.jcn2
-1.0.1.jbr2
-1.0.2
-1.0.2.hwn1
-1.0.3
-1.0.3.jcn1
+++ /dev/null
-# make/Stepmake.make
-
-include $(depth)/make/Toplevel_version.make
-
-# Don't try to outsmart us, you puny computer!
-ifeq (0,${MAKELEVEL})
- MAKE:=$(MAKE) --no-builtin-rules
-endif
-
-ifndef config
- configuration=config
-else
- configuration=config-$(config)
-endif
-
-include $(depth)/$(configuration).make
-
-ifdef CONFIGSUFFIX
-outdir=out-$(CONFIGSUFFIX)
-else
-outdir=out
-endif
-
-
-
-stepdir = $(depth)/$(stepmake)/stepmake
-include $(stepdir)/Include.make
-
-MAKEFILES := Generic $(MAKEFILES)
-
-include $(addprefix $(stepdir)/,$(addsuffix _vars.make, $(MAKEFILES)))
-include $(addprefix $(depth)/make/,$(addsuffix _vars.make, $(LOCALMAKEFILES)))
-include $(addprefix $(stepdir)/,$(addsuffix _rules.make, $(MAKEFILES)))
-include $(addprefix $(depth)/make/,$(addsuffix _rules.make, $(LOCALMAKEFILES)))
-include $(addprefix $(stepdir)/,$(addsuffix _targets.make, $(MAKEFILES)))
-include $(addprefix $(depth)/make/,$(addsuffix _targets.make, $(LOCALMAKEFILES)))
-
-# ugh. ugh ugh ugh
-$(depth)/$(configuration).make: $(depth)/configure
- @echo "**************************************"
- @echo "configure changed! You should probably reconfigure manually."
- @echo "**************************************"
- (cd $(depth); ./config.status)
-
-
+++ /dev/null
-# make/Substitute.make
-
-sed-examples = sed 's!@EXAMPLE_LYS@!${rpmexamples} ${rpmmudocs}!g'
-sed-docs=sed 's!@TEXT_DOCS@!${rpmdocs}!g'
-
-ATVARIABLES = \
- BASH\
- DATE\
- date\
- DIR_DATADIR\
- PACKAGE\
- package\
- PERL\
- PYTHON\
- SHELL\
- TOPLEVEL_VERSION\
- step-bindir\
- abs-step-bindir\
-
-
+++ /dev/null
-# title package specific targets
-# file make/Targets.make
-
-
-# urg!
-$(configheader): $(depth)/$(configuration).hh
- cp $< $@
-
+++ /dev/null
-# -*-Makefile-*-
-# title specific top level makefile for LilyPond
-
-# subdir level:
-#
-depth = .
-#
-
-# descent order into subdirectories:
-#
-SUBDIRS = scripts buildscripts flower lib lily mf mi2mu po debian \
- Documentation init input tex make mutopia test intl stepmake
-#
-
-SCRIPTS = configure aclocal.m4
-README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCEMENT \
- COPYING NEWS-0.1 NEWS-0.0 NEWS TODO
-README_TXT_FILES = README.txt AUTHORS.txt INSTALL.txt PATCHES.txt
-IN_FILES := $(wildcard *.in)
-EXTRA_DIST_FILES = dstreamrc mudela-mode.el vimrc VERSION $(README_FILES) $(SCRIPTS) $(IN_FILES)
-NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
-
-
-# bootstrap stepmake:
-#
-include $(depth)/make/Stepmake.make
-#
-
-# list of distribution files:
-#
-include $(stepdir)/Toplevel.make
-
-aclocal.m4: $(stepdir)/../aclocal.m4
- cp $< $@
-
-website: examples htmldoc doc++
-
-examples:
- $(MAKE) CONFIGSUFFIX='www' -C input WWW
- $(MAKE) CONFIGSUFFIX='www' -C mutopia WWW
- tar --exclude='*.dvi' --exclude='*.tex' --exclude='*.ps' -czf $(outdir)/examples.tar.gz `find input mutopia -type d -name 'out-www' -print`
-
-
-local-dist: do-top-doc
-
-$(package-icon):
- $(MAKE) -C Documentation/pictures icon
-
-
-
-do-top-doc:
- -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(README_TXT_FILES)" copy-to-top
-
-$(README_TXT_FILES): do-top-doc
-
-
+++ /dev/null
-# Toplevel_version.make
-
-include $(depth)/VERSION
-TOPLEVEL_MAJOR_VERSION:=$(MAJOR_VERSION)
-TOPLEVEL_MINOR_VERSION:=$(MINOR_VERSION)
-TOPLEVEL_PATCH_LEVEL:=$(PATCH_LEVEL)
-# use to send patches, always empty for released version:
-TOPLEVEL_MY_PATCH_LEVEL:=$(MY_PATCH_LEVEL)
+++ /dev/null
-# title user changeable settings
-# file make/User.make
-
-# will be split into CFLAGS/EXTRA_CFLAGS etc,
-# so that defineable generically and per module
-
-#
-# -lefence = ElectricFence.
-#
-# ElectricFence is a memory debugger which uses the
-# VM hardware to trap malloc/free errors.
-#
-
-EXTRALIB+= #-lefence
-
+++ /dev/null
-# title package specific variables
-# file make/Variables.make
-#
-# do not change this file for site-wide extensions; please use
-# make/$(outdir)/Site.make;
-#
-# Any change in files in this directory (make/) would be distributed, if
-# you do make dist
-#
-
-buildscripts = $(depth)/buildscripts
-
-
-flower-dir = $(depth)/flower
-lib-dir = $(depth)/lib
-lily-dir = $(depth)/lily
-mi2mu-dir = $(depth)/mi2mu
-make-dir = $(depth)/make
-include-lib = $(depth)/lib/include
-include-flower = $(depth)/flower/include
-
-
-
-LILYPOND_INCLUDES = $(include-lib) $(depth)/lib/$(outdir) $(include-flower) $(depth)/flower/$(outdir)
-LILYPOND_LDFLAGS = -L$(depth)/lib/$(outdir) -L$(depth)/flower/$(outdir)
-LILYPOND_LIBES =
-
-
-# should use to create .spec ?
-
-# installed by 'make installextradoc'
-EXTRA_DOC_FILES = \
- ANNOUNCEMENT ANNOUNCE-0.1 AUTHORS.txt BUGS COPYING DEDICATION INSTALL.txt NEWS PATCHES.txt README.txt TODO \
- Documentation/out/*.txt\
- Documentation/tex/*.doc\
- Documentation/tex/*.bib\
- Documentation/pictures/out/lelie_logo.gif\
- input\
- mutopia\
-
-INSTALLED_EXTRA_DOC_FILES = $(addprefix $(prefix:/%=%)/doc/lilypond/, $(EXTRA_DOC_FILES))
-
-# installed by 'make install'
-INSTALL_DIST_FILES = \
- bin/convert-mudela\
- bin/mudela-book\
- bin/ly2dvi\
- bin/lilypond$(DOTEXE)\
- bin/mi2mu$(DOTEXE)\
- info/lilypond.info\
- man/man1/mi2mu.1\
- man/man1/lilypond.1\
- man/man1/mudela-book.1\
- man/man1/ly2dvi.1\
- man/man1/convert-mudela.1\
- lib/texmf/texmf/tex/lilypond\
- lib/texmf/texmf/fonts/source/public/lilypond\
- share/lilypond/\
- share/locale/*/LC_MESSAGES/lilypond.mo\
-
-
-INSTALLED_DIST_FILES = $(addprefix $(prefix:/%=%)/, $(INSTALL_DIST_FILES))
-
--- /dev/null
+# Docrules.make
+
+include $(make-dir)/mudela_rules.make
--- /dev/null
+# title package specific rules
+# file make/Rules.make
+
+# urg
+$(outdir)/%.ly: %.lym4
+ $(M4) $< | sed "s/\`/,/g" > $@
+
+$(outdir)/%: %.in
+ rm -f $@
+ cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
+
+
+
+include $(depth)/make/substitute.make
+
+
+# HUH???
+$(outdir)/%.hh: $(doc-dir)/%.in
+ rm -f $@
+ echo '_(' > $@
+ cat $< | $(sed-quotes) | $(sed-newline) | $(sed-quote-line) >> $@
+ echo ');' >> $@
+
--- /dev/null
+# title package specific targets
+# file make/Targets.make
--- /dev/null
+# title package specific variables
+# file make/Variables.make
+#
+# do not change this file for site-wide extensions; please use
+# make/$(outdir)/Site.make;
+#
+# Any change in files in this directory (make/) would be distributed, if
+# you do make dist
+#
+
+buildscripts = $(depth)/buildscripts
+
+
+flower-dir = $(depth)/flower
+lib-dir = $(depth)/lib
+lily-dir = $(depth)/lily
+mi2mu-dir = $(depth)/mi2mu
+make-dir = $(depth)/make
+include-lib = $(depth)/lib/include
+include-flower = $(depth)/flower/include
+
+
+
+LILYPOND_INCLUDES = $(include-lib) $(depth)/lib/$(outdir) $(include-flower) $(depth)/flower/$(outdir)
+
+
+# should use to create .spec ?
+
+# installed by 'make installextradoc'
+EXTRA_DOC_FILES = \
+ ANNOUNCEMENT ANNOUNCE-0.1 AUTHORS.txt BUGS COPYING DEDICATION INSTALL.txt NEWS PATCHES.txt README.txt TODO \
+ Documentation/out/*.txt\
+ Documentation/tex/*.doc\
+ Documentation/tex/*.bib\
+ Documentation/pictures/out/lelie_logo.gif\
+ input\
+ mutopia\
+
+INSTALLED_EXTRA_DOC_FILES = $(addprefix $(prefix:/%=%)/doc/lilypond/, $(EXTRA_DOC_FILES))
+
+# installed by 'make install'
+INSTALL_DIST_FILES = \
+ bin/convert-mudela\
+ bin/mudela-book\
+ bin/ly2dvi\
+ bin/lilypond$(DOTEXE)\
+ bin/mi2mu$(DOTEXE)\
+ info/lilypond.info\
+ man/man1/mi2mu.1\
+ man/man1/lilypond.1\
+ man/man1/mudela-book.1\
+ man/man1/ly2dvi.1\
+ man/man1/convert-mudela.1\
+ lib/texmf/texmf/tex/lilypond\
+ lib/texmf/texmf/fonts/source/public/lilypond\
+ share/lilypond/\
+ share/locale/*/LC_MESSAGES/lilypond.mo\
+
+
+INSTALLED_DIST_FILES = $(addprefix $(prefix:/%=%)/, $(INSTALL_DIST_FILES))
+
--- /dev/null
+
+export PATH:=$(topdir)/lily/out:$(topdir)/buildscripts/out:$(PATH)
+export MFINPUTS:=$(topdir)/mf/:.:$(MFINPUTS)::
+export TEXINPUTS:=$(topdir)/tex/:.:$(TEXINPUTS)::
+export LILYINCLUDE=$(topdir)/init:$(topdir)/mf/out
+
--- /dev/null
+# Mudela_rules.make
+
+.SUFFIXES: .doc .dvi .mudtex
+
+$(outdir)/%.dvi: $(outdir)/%.mudtex
+ latex '\nonstopmode \input $<'
+ mv $(notdir $@) $(outdir)
+
+$(outdir)/%.mudtex: %.doc
+ $(PYTHON) $(depth)/scripts/mudela-book.py --outdir=$(outdir)/ --outname=$(notdir $@) $<
+
--- /dev/null
+
+
+$(outdir)/%.gif: $(outdir)/%.ps
+ sh $(buildscripts)/ps-to-gifs.sh $<
+ -mv $(name-stem)-page*.gif $(outdir)/
+ touch $@
+
+$(outdir)/%.ly.txt: %.ly
+ ln -f $< $@
+
+$(outdir)/%.fly.txt: %.fly
+ ln -f $< $@
+
+
+
+# don't junk intermediate .dvi files. They're easier to view than
+# .ps or .gif
+.PRECIOUS: $(outdir)/%.dvi
+
+$(outdir)/%.dvi: %.ly
+ sh $(depth)/scripts/ly2dvi.sh -S $(topdir) -o $(outdir) $<
+ -mv $(basename $<).midi $(outdir)
+
+$(outdir)/%.dvi: %.fly
+ sh $(depth)/scripts/ly2dvi.sh -S $(topdir) -o $(outdir) $<
+ -mv $(basename $<).midi $(outdir)
--- /dev/null
+
+
+all: $(OUT_FILES)
+
+
+local-WWW: $(ly_examples) $(fly_examples) $(ps_examples) $(gif_examples)
+ (cd $(outdir); $(PYTHON) ../$(buildscripts)/mutopia-index.py --package=$(topdir) --prefix=../ --suffix=/$(outdir) $(html_subdirs) $(all_examples))
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/$(outdir)/index.html $(outdir)/index.html
+ echo $^ > $(depth)/wwwlist
--- /dev/null
+
+# UGH UGH
+include $(make-dir)/lilypond-vars.make
+
+FLY_FILES = $(wildcard *.fly)
+LY_FILES = $(wildcard *.ly)
+M4_FILES = $(wildcard *.m4)
+LYM4_FILES = $(wildcard *.lym4)
+EXTRA_DIST_FILES += $(FLY_FILES) $(LY_FILES) $(M4_FILES) $(LYM4_FILES)
+
+# WWW.make
+
+ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly.txt, $(examples)))
+fly_examples=$(addprefix $(outdir)/, $(addsuffix .fly.txt, $(flexamples)))
+
+all_examples=$(flexamples) $(examples)
+
+ps_examples=$(addprefix $(outdir)/, $(addsuffix .ps.gz, $(all_examples)))
+gif_examples=$(addprefix $(outdir)/, $(addsuffix .gif, $(all_examples)))
+
+html_subdirs=$(addprefix --subdirs ,$(SUBDIRS))
+
+
+name-stem= $(notdir $(basename $<))
+
+OUT_FILES = $(addprefix $(outdir)/,$(M4_FILES:%.m4=%)) \
+ $(addprefix $(outdir)/,$(LYM4_FILES:%.lym4=%.ly))
--- /dev/null
+# make/Mutopia.make
+
+
Begin3
Titel: LilyPond
-Versie: 1.0.3
-Inschrijf datum: 19AUG98
-Beschrijving:
-LilyPond is de muziekzetter van het GNU Project. Dit programma drukt
-prachtige bladmuziek volgens een muzikaal definitie bestand. Ook kan
-het een mechanische uitvoering afspelen naar een MIDI bestand.
-Bijzondere kunstjes zijn verscheidene notenbalken, maatsoorten,
-sleutels, toonaarden, zangteksten, krachtige invoer taal, cadensa,
-balken, boogjes, triolen, partituren, en uittreksels voor individuele
-partijen. Een fraaie set muziektekens is inbegrepen.
+Versie: 1.0.4
+Inschrijf datum: 24AUG98
+Beschrijving: @FLAPTEKST@
Trefwoorden: muziek typezetten midi notatie
Auteur: hanwen@stack.nl (Han-Wen Nienhuys)
janneke@gnu.org (Jan Nieuwenhuizen)
Onderhouden door: hanwen@cs.ruu.nl (Han-Wen Nienhuys)
Voornaamste plek: sunsite.unc.edu /pub/Linux/apps
- 770k lilypond-1.0.3.tar.gz
+ 770k lilypond-1.0.4.tar.gz
Oorspronkelijke plek: ftp.cs.uu.nl /pub/GNU/LilyPond/development/
- 770k lilypond-1.0.3.tar.gz
+ 770k lilypond-1.0.4.tar.gz
Copi-eer voorwaarden: GPL
End
Begin3
Title: LilyPond
-Version: 1.0.3
-Entered-date: 19AUG98
+Version: 1.0.4
+Entered-date: 24AUG98
Description:
LilyPond is the GNU Project music typesetter. This program can print
beautiful sheet music from a music definition file. It can also play
janneke@gnu.org (Jan Nieuwenhuizen)
Maintained-by: hanwen@stack.nl (Han-Wen Nienhuys)
Primary-site: sunsite.unc.edu /pub/Linux/apps/sound/convert
- 770k lilypond-1.0.3.tar.gz
+ 770k lilypond-1.0.4.tar.gz
Original-site: ftp.cs.uu.nl /pub/GNU/LilyPond/development/
- 770k lilypond-1.0.3.tar.gz
+ 770k lilypond-1.0.4.tar.gz
Copying-policy: GPL
End
Name: lilypond
-Version: 1.0.3
+Version: 1.0.4
Release: 1
Copyright: GPL
Group: Applications/Publishing
-Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.0.3.tar.gz
+Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.0.4.tar.gz
Summary: A program for printing sheet music.
URL: http://www.cs.uu.nl/~hanwen/lilypond
Packager: Han-Wen Nienhuys <hanwen@cs.uu.nl>
--- /dev/null
+# make/Stepmake.make
+
+include $(depth)/make/toplevel-version.make
+
+# Don't try to outsmart us, you puny computer!
+ifeq (0,${MAKELEVEL})
+ MAKE:=$(MAKE) --no-builtin-rules
+endif
+.SUFFIXES:
+
+
+ifndef config
+ configuration=config
+else
+ configuration=config-$(config)
+endif
+
+include $(depth)/$(configuration).make
+
+ifdef CONFIGSUFFIX
+outdir=out-$(CONFIGSUFFIX)
+else
+outdir=out
+endif
+
+stepdir = $(depth)/$(stepmake)/stepmake
+
+STEPMAKE_TEMPLATES := generic $(STEPMAKE_TEMPLATES)
+LOCALSTEPMAKE_TEMPLATES:= generic $(LOCALSTEPMAKE_TEMPLATES)
+
+
+all:
+
+include $(addprefix $(depth)/make/,$(addsuffix -vars.make, $(LOCALSTEPMAKE_TEMPLATES)))
+include $(addprefix $(stepdir)/,$(addsuffix -vars.make, $(STEPMAKE_TEMPLATES)))
+include $(addprefix $(depth)/make/,$(addsuffix -rules.make, $(LOCALSTEPMAKE_TEMPLATES)))
+include $(addprefix $(stepdir)/,$(addsuffix -rules.make, $(STEPMAKE_TEMPLATES)))
+include $(addprefix $(depth)/make/,$(addsuffix -targets.make, $(LOCALSTEPMAKE_TEMPLATES)))
+include $(addprefix $(stepdir)/,$(addsuffix -targets.make, $(STEPMAKE_TEMPLATES)))
+
+
--- /dev/null
+# make/Substitute.make
+
+#guh
+include $(stepdir)/substitute-vars.make
+
+ATVARIABLES = \
+ BASH\
+ DATE\
+ date\
+ DIR_DATADIR\
+ PACKAGE\
+ package\
+ PERL\
+ PYTHON\
+ SHELL\
+ TOPLEVEL_VERSION\
+ step-bindir\
+ abs-step-bindir\
+
+
--- /dev/null
+# Toplevel_version.make
+
+include $(depth)/VERSION
+TOPLEVEL_MAJOR_VERSION:=$(MAJOR_VERSION)
+TOPLEVEL_MINOR_VERSION:=$(MINOR_VERSION)
+TOPLEVEL_PATCH_LEVEL:=$(PATCH_LEVEL)
+# use to send patches, always empty for released version:
+TOPLEVEL_MY_PATCH_LEVEL:=$(MY_PATCH_LEVEL)
--- /dev/null
+# -*-Makefile-*-
+# title specific top level makefile for LilyPond
+
+# subdir level:
+#
+depth = .
+#
+
+# descent order into subdirectories:
+#
+SUBDIRS = scripts buildscripts flower lib lily mf mi2mu po debian \
+ Documentation init input tex make mutopia test intl stepmake
+#
+
+SCRIPTS = configure aclocal.m4
+README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCEMENT \
+ COPYING NEWS-0.1 NEWS-0.0 NEWS TODO
+README_TXT_FILES = README.txt AUTHORS.txt INSTALL.txt PATCHES.txt
+IN_FILES := $(wildcard *.in)
+EXTRA_DIST_FILES = dstreamrc mudela-mode.el vimrc VERSION $(README_FILES) $(SCRIPTS) $(IN_FILES)
+NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
+
+# bootstrap stepmake:
+#
+STEPMAKE_TEMPLATES=toplevel yolily-toplevel
+include $(depth)/make/stepmake.make
+#
+
+website: examples htmldoc doc++
+
+examples:
+ $(MAKE) CONFIGSUFFIX='www' -C input WWW
+ $(MAKE) CONFIGSUFFIX='www' -C mutopia WWW
+ tar --exclude='*.dvi' --exclude='*.tex' --exclude='*.ps' -czf $(outdir)/examples.tar.gz `find input mutopia -type d -name 'out-www' -print`
+
--- /dev/null
+# mf/Makefile
+
+depth = ..
+
+STEPMAKE_TEMPLATES=metafont
+
+EXTRA_DIST_FILES += TODO README
+
+FET_FILES = $(wildcard feta[0-9]*.mf)
+
+LYTABLES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.ly))
+LOG_FILES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.log))
+TEXTABLES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.tex))
+AFM_FILES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.afm))
+
+ALL_GEN_FILES=$(LYTABLES) $(TEXTABLES) $(LOG_FILES) $(AFM_FILES)
+
+OUT_DIST_FILES += $(AFM_FILES)
+
+include $(depth)/make/stepmake.make
+
+default: $(ALL_GEN_FILES)
+
+
+$(outdir)/%.afm $(outdir)/%.ly $(outdir)/%.tex $(outdir)/%.dep: $(outdir)/%.log
+ $(PYTHON) $(buildscripts)/mf-to-table.py --package=$(topdir) --outdir=$(outdir) --dep $(outdir)/$(<F:.log=.dep) --ly $(outdir)/$(<F:.log=.ly) --afm $(outdir)/$(<F:.log=.afm) --tex $(outdir)/$(<F:.log=.tex) $<
+
+
+TEXINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(TEXDIR)/lilypond depth=.. INSTALLATION_OUT_FILES="$(TEXTABLES)" -f $(stepdir)/install-outfiles.sub.make $@
+
+AFMINSTALL=$(MAKE) depth=.. INSTALLATION_OUT_DIR=$(datadir) INSTALLATION_OUT_FILES="$(AFM_FILES)" -f $(stepdir)/install-outfiles.sub.make $@
+
+LYINSTALL=$(MAKE) depth=.. INSTALLATION_OUT_DIR=$(datadir) INSTALLATION_OUT_FILES="$(LYTABLES)" -f $(stepdir)/install-outfiles.sub.make $@
+
+localinstall: $(ALL_GEN_FILES)
+ $(TEXINSTALL)
+ $(LYINSTALL)
+ $(AFMINSTALL)
+
+localuninstall:
+ $(TEXINSTALL)
+ $(LYINSTALL)
+ $(AFMINSTALL)
+
+INSTALLATION_DIR=$(MFDIR)/public/lilypond
+INSTALLATION_FILES=$(MF_FILES)
+
+include $(stepdir)/installfiles.make
+
+++ /dev/null
-# mf/Makefile
-
-depth = ..
-
-MAKEFILES=Metafont
-
-EXTRA_DIST_FILES += TODO README
-
-FET_FILES = $(wildcard feta[0-9]*.mf)
-
-LYTABLES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.ly))
-LOG_FILES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.log))
-TEXTABLES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.tex))
-AFM_FILES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.afm))
-
-ALL_GEN_FILES=$(LYTABLES) $(TEXTABLES) $(LOG_FILES) $(AFM_FILES)
-
-OUT_DIST_FILES += $(AFM_FILES)
-
-include $(depth)/make/Stepmake.make
-
-default: $(ALL_GEN_FILES)
-
-
-$(outdir)/%.afm $(outdir)/%.ly $(outdir)/%.tex $(outdir)/%.dep: $(outdir)/%.log
- $(PYTHON) $(buildscripts)/mf-to-table.py --package=$(topdir) --outdir=$(outdir) --dep $(outdir)/$(<F:.log=.dep) --ly $(outdir)/$(<F:.log=.ly) --afm $(outdir)/$(<F:.log=.afm) --tex $(outdir)/$(<F:.log=.tex) $<
-
-
-TEXINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(TEXDIR)/lilypond depth=.. INSTALLATION_OUT_FILES="$(TEXTABLES)" -f $(stepdir)/Install_outfiles.sub.make $@
-
-AFMINSTALL=$(MAKE) depth=.. INSTALLATION_OUT_DIR=$(datadir) INSTALLATION_OUT_FILES="$(AFM_FILES)" -f $(stepdir)/Install_outfiles.sub.make $@
-
-LYINSTALL=$(MAKE) depth=.. INSTALLATION_OUT_DIR=$(datadir) INSTALLATION_OUT_FILES="$(LYTABLES)" -f $(stepdir)/Install_outfiles.sub.make $@
-
-localinstall: $(ALL_GEN_FILES)
- $(TEXINSTALL)
- $(LYINSTALL)
- $(AFMINSTALL)
-
-localuninstall:
- $(TEXINSTALL)
- $(LYINSTALL)
- $(AFMINSTALL)
-
-INSTALLATION_DIR=$(MFDIR)/public/lilypond
-INSTALLATION_FILES=$(MF_FILES)
-
-include $(stepdir)/Installfiles.make
-
interline#:=staffsize#/(stafflines-1);
+% URG!
+% font_x_height ( interline# );
+
%
% [D.K.Roush & J.S.Gourlay] say this should be 0.072
% We know better
--- /dev/null
+# title makefile for mi2mu
+# file mi2mu/Makefile
+
+depth = ..
+
+NAME = mi2mu
+MODULE_NAME = mi2mu
+
+SUBDIRS = include
+EXTRA_DIST_FILES += TODO
+MODULE_LIBS=$(depth)/lib $(depth)/flower
+
+STEPMAKE_TEMPLATES=c++ executable
+
+include $(depth)/make/stepmake.make
+
+# explicit dependencies: (how to do auto?)
+#
+midi-lexer.l: $(outdir)/midi-parser.hh
+
+
+$(outdir)/mi2mu-version.o: $(outdir)/version.hh
+
+VERSION: $(depth)/VERSION
+ cp $< $@
+++ /dev/null
-# title makefile for mi2mu
-# file mi2mu/Makefile
-
-depth = ..
-
-NAME = mi2mu
-MODULE_NAME = mi2mu
-
-SUBDIRS = include
-EXTRA_DIST_FILES += TODO
-MODULE_LIBS=$(depth)/lib $(depth)/flower
-
-MAKEFILES=C++ Executable
-
-include $(depth)/make/Stepmake.make
-
-# explicit dependencies: (how to do auto?)
-#
-midi-lexer.l: $(outdir)/midi-parser.hh
-
-
-$(outdir)/mi2mu-version.o: $(outdir)/version.hh
-
-VERSION: $(depth)/VERSION
- cp $< $@
--- /dev/null
+# lib/include/Makefile
+
+depth = ../..
+STEPMAKE_TEMPLATES=c++
+include $(depth)/make/stepmake.make
+
+++ /dev/null
-# lib/include/Makefile
-
-depth = ../..
-MAKEFILES=C++
-include $(depth)/make/Stepmake.make
-
--- /dev/null
+# mutopia/Makefile
+
+depth = ../..
+
+# do Coriolan if you have plenty RAM / CPU
+examples=coriolan oboi-part viola-part
+# examples= oboi-part viola-part
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+
+++ /dev/null
-# mutopia/Makefile
-
-depth = ../..
-
-# do Coriolan if you have plenty RAM / CPU
-examples=coriolan oboi-part viola-part
-# examples= oboi-part viola-part
-
-LOCALMAKEFILES=Mutopia
-
-include $(depth)/make/Stepmake.make
-
--- /dev/null
+# mutopia/Makefile
+
+depth = ..
+
+SUBDIRS = J.S.Bach Coriolan W.A.Mozart
+
+examples=standchen gallina
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+
+EXTRA_DIST_FILES += TODO
+
+
+
--- /dev/null
+# mutopia/J.S.Bach/Makefile
+
+depth = ../..
+
+SUBDIRS = Petites-Preludes Solo-Cello-Suites
+EXTRA_DIST_FILES=
+
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+examples=wtk1-fugue2
+
+include $(depth)/make/stepmake.make
+
+++ /dev/null
-# mutopia/J.S.Bach/Makefile
-
-depth = ../..
-
-SUBDIRS = Petites-Preludes Solo-Cello-Suites
-EXTRA_DIST_FILES=
-
-
-LOCALMAKEFILES=Mutopia
-examples=wtk1-fugue2
-
-include $(depth)/make/Stepmake.make
-
--- /dev/null
+# mutopia/J.S.Bach/Petites-Preludes/Makefile
+
+depth = ../../..
+
+EXTRA_DIST_FILES=
+
+examples=preludes-2
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+++ /dev/null
-# mutopia/J.S.Bach/Petites-Preludes/Makefile
-
-depth = ../../..
-
-EXTRA_DIST_FILES=
-
-examples=preludes-2
-LOCALMAKEFILES=Mutopia
-
-include $(depth)/make/Stepmake.make
--- /dev/null
+# mutopia/J.S.Bach/Solo-Cello-Suites/Makefile
+
+depth = ../../..
+
+EXTRA_DIST_FILES=
+
+examples=scsii-cello
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+++ /dev/null
-# mutopia/J.S.Bach/Solo-Cello-Suites/Makefile
-
-depth = ../../..
-
-EXTRA_DIST_FILES=
-
-examples=scsii-cello
-LOCALMAKEFILES=Mutopia
-
-include $(depth)/make/Stepmake.make
--- /dev/null
+\header{
+filename = "allemande-alto.ly";
+title = "Solo Cello Suites";
+subtitle = "Suite II";
+piece = "Allemande";
+% opus = "BWV 1008";
+opus = "";
+composer = "Johann Sebastian Bach (1685-1750)";
+enteredby = "JCN";
+copyright = "public domain";
+}
+
+%{
+ Tested Features:breaking algorithm, chords, multivoice, accents,
+ dotted slurs
+%}
+
+\version "1.0.0";
+
+\include "allemande-urtext.ly";
+
+allemande_alto_global = \melodic{
+ \time 4/4;
+ \key f;
+ \partial 16;
+ \clef alto;
+ \skip 1*11;
+ s2. s8.
+ \bar ":|:";
+ \skip 1*11;
+ s2. s4 s8
+ \bar ":|";
+}
+
+allemande_alto_scripts = \melodic{
+}
+
+allemande_alto_staff = \type Staff <
+ \melodic \transpose c'' \$allemande
+ \$allemande_alto_global
+ \$allemande_alto_scripts
+>
+
+\score{
+ \$allemande_alto_staff
+ \include "scs-paper.ly";
+ \midi{ \tempo 4 = 45; }
+}
+
filename = "allemande-cello.ly";
title = "Solo Cello Suites";
subtitle = "Suite II";
-%piece = "Allemande";
+piece = "Allemande";
% opus = "BWV 1008";
opus = "";
composer = "Johann Sebastian Bach (1685-1750)";
\$allemande_cello_staff
\include "scs-paper.ly";
\midi{ \tempo 4 = 45; }
- \header{ piece = "Allemande"; }
}
% allemande-urtext.ly
-% belongs together with -cello.ly and -viola.ly
+% belongs together with -cello.ly and -alto.ly
% (who is going to make a -violin.ly?)
%{
Well, there are still some scripts in this "urtext".
-But merging melodic and scripts doen't work too well yet (see viola_scripts).
+But merging melodic and scripts doen't work too well yet (see alto_scripts).
%}
n = { \slurnormal }
+++ /dev/null
-\header{
-filename = "allemande-viola.ly";
-title = "Solo Cello Suites";
-subtitle = "Suite II";
-% piece = "Allemande";
-% opus = "BWV 1008";
-opus = "";
-composer = "Johann Sebastian Bach (1685-1750)";
-enteredby = "JCN";
-copyright = "public domain";
-}
-
-%{
- Tested Features:breaking algorithm, chords, multivoice, accents,
- dotted slurs
-%}
-
-\version "1.0.0";
-
-\include "allemande-urtext.ly";
-
-allemande_viola_global = \melodic{
- \time 4/4;
- \key f;
- \partial 16;
- \clef alto;
- \skip 1*11;
- s2. s8.
- \bar ":|:";
- \skip 1*11;
- s2. s4 s8
- \bar ":|";
-}
-
-allemande_viola_scripts = \melodic{
-}
-
-allemande_viola_staff = \type Staff <
- \melodic \transpose c'' \$allemande
- \$allemande_viola_global
- \$allemande_viola_scripts
->
-
-\score{
- \$allemande_viola_staff
- \include "scs-paper.ly";
- \midi{ \tempo 4 = 45; }
- \header{ piece = "Allemande"; }
-}
-
--- /dev/null
+\header{
+filename = "courante-alto.ly";
+title = "Solo Cello Suites";
+subtitle = "Suite II";
+piece = "Courante";
+% opus = "BWV 1008";
+opus = "";
+composer = "Johann Sebastian Bach (1685-1750)";
+enteredby = "JCN";
+copyright = "public domain";
+}
+
+%{
+ Tested Features:breaking algorithm, chords, multivoice, accents,
+ dotted slurs
+%}
+
+\version "1.0.0";
+
+\include "courante-urtext.ly";
+
+courante_alto_global = \melodic{
+ \time 3/4;
+ \key f;
+ \partial 16;
+ \clef alto;
+ \skip 2.*15;
+ s2 s8.
+ \bar ":|:";
+ \skip 2.*15;
+ s2 s8.
+ \bar ":|";
+}
+
+courante_alto_scripts = \melodic{
+}
+
+courante_alto_staff = \type Staff <
+ \melodic \transpose c' \$courante
+ \$courante_alto_global
+ \$courante_alto_scripts
+>
+
+\score{
+ \$courante_alto_staff
+ \include "scs-paper.ly";
+ \midi{ \tempo 4 = 55; }
+}
+
filename = "courante-cello.ly";
title = "Solo Cello Suites";
subtitle = "Suite II";
-% piece = "Courante";
+piece = "Courante";
% opus = "BWV 1008";
opus = "";
composer = "Johann Sebastian Bach (1685-1750)";
\$courante_cello_staff
\include "scs-paper.ly";
\midi{ \tempo 4 = 55; }
- \header{ piece = "Courante"; }
}
% courante-urtext.ly
-% belongs together with -cello.ly and -viola.ly
+% belongs together with -cello.ly and -alto.ly
% (who is going to make a -violin.ly?)
%{
Well, there are still some scripts in this "urtext".
-But merging melodic and scripts doen't work too well yet (see viola_scripts).
+But merging melodic and scripts doen't work too well yet (see alto_scripts).
%}
n = { \slurnormal }
+++ /dev/null
-\header{
-filename = "courante-viola.ly";
-title = "Solo Cello Suites";
-subtitle = "Suite II";
-% piece = "Courante";
-% opus = "BWV 1008";
-opus = "";
-composer = "Johann Sebastian Bach (1685-1750)";
-enteredby = "JCN";
-copyright = "public domain";
-}
-
-%{
- Tested Features:breaking algorithm, chords, multivoice, accents,
- dotted slurs
-%}
-
-\version "1.0.0";
-
-\include "courante-urtext.ly";
-
-courante_viola_global = \melodic{
- \time 3/4;
- \key f;
- \partial 16;
- \clef alto;
- \skip 2.*15;
- s2 s8.
- \bar ":|:";
- \skip 2.*15;
- s2 s8.
- \bar ":|";
-}
-
-courante_viola_scripts = \melodic{
-}
-
-courante_viola_staff = \type Staff <
- \melodic \transpose c' \$courante
- \$courante_viola_global
- \$courante_viola_scripts
->
-
-\score{
- \$courante_viola_staff
- \include "scs-paper.ly";
- \midi{ \tempo 4 = 55; }
- \header{ piece = "Courante"; }
-}
-
--- /dev/null
+\header{
+filename = "gigue-cello.ly";
+title = "Solo Cello Suites";
+subtitle = "Suite II";
+piece = "Pr\\'elude"; % duh
+% opus = "BWV 1008";
+opus = "";
+composer = "Johann Sebastian Bach (1685-1750)";
+enteredby = "JCN";
+copyright = "public domain";
+}
+
+%{
+ Tested Features:breaking algorithm, chords, multivoice, accents,
+ dotted slurs
+%}
+
+\version "1.0.0";
+
+\include "gigue-urtext.ly";
+
+gigue_cello_global = \melodic{
+ \time 3/8;
+ \key f;
+ \clef bass;
+ \partial 8
+ \skip 4.*31;
+ s4
+ \bar ":|:";
+ \skip 4.*44;
+ s4
+ \bar ":|";
+}
+
+gigue_cello_scripts = \melodic{
+}
+
+gigue_cello_staff = \type Staff <
+ \melodic \transpose c' \$gigue
+ \$gigue_cello_global
+ \$gigue_cello_scripts
+>
+
+\score{
+ \$gigue_cello_staff
+ \include "scs-paper.ly";
+%broken
+ \midi{ \tempo 4 = 60; }
+}
+
filename = "gigue-cello.ly";
title = "Solo Cello Suites";
subtitle = "Suite II";
-% piece = "Gigue";
+piece = "Pr\\'elude"; % duh
% opus = "BWV 1008";
opus = "";
composer = "Johann Sebastian Bach (1685-1750)";
\$gigue_cello_staff
\include "scs-paper.ly";
\midi{ \tempo 4 = 60; }
- \header{ piece = "Gigue"; }
}
% gigue-urtext.ly
-% belongs together with -cello.ly and -viola.ly
+% belongs together with -cello.ly and -alto.ly
% (who is going to make a -violin.ly?)
%{
Well, there are still some scripts in this "urtext".
-But merging melodic and scripts doen't work too well yet (see viola_scripts).
+But merging melodic and scripts doen't work too well yet (see alto_scripts).
%}
n = { \slurnormal }
+++ /dev/null
-\header{
-filename = "gigue-cello.ly";
-title = "Solo Cello Suites";
-subtitle = "Suite II";
-% piece = "Gigue";
-% opus = "BWV 1008";
-opus = "";
-composer = "Johann Sebastian Bach (1685-1750)";
-enteredby = "JCN";
-copyright = "public domain";
-}
-
-%{
- Tested Features:breaking algorithm, chords, multivoice, accents,
- dotted slurs
-%}
-
-\version "1.0.0";
-
-\include "gigue-urtext.ly";
-
-gigue_cello_global = \melodic{
- \time 3/8;
- \key f;
- \clef bass;
- \partial 8;
- \skip 4.*31;
- s4
- \bar ":|:";
- \skip 4.*44;
- s4
- \bar ":|";
-}
-
-gigue_cello_scripts = \melodic{
-}
-
-gigue_cello_staff = \type Staff <
- \melodic \transpose c' \$gigue
- \$gigue_cello_global
- \$gigue_cello_scripts
->
-
-\score{
- \$gigue_cello_staff
- \include "scs-paper.ly";
-%broken
- \midi{ \tempo 4 = 60; }
- \header{ piece = "Gigue"; }
-}
-
--- /dev/null
+\header{
+filename = "menuetto-alto.ly";
+title = "Solo Cello Suites";
+subtitle = "Suite II";
+piece = "Menuetto I";
+description = "Transcribed for Alto";
+source = "?";
+% opus = "BWV 1008 no. 5";
+opus = "";
+composer = "Johann Sebastian Bach (1685-1750)";
+enteredby = "JCN";
+copyright = "public domain";
+}
+
+%{
+ Tested Features:breaking algorithm, chords, multivoice, accents,
+ dotted slurs
+%}
+
+\version "1.0.0";
+
+\include "menuetto-urtext.ly";
+
+menuetto_i_alto_global = \melodic{
+ \time 3/4;
+ \key f;
+ \clef alto;
+ \skip 2.*8;
+ \bar ":|:";
+ \clef violin;
+ \skip 2.*1;
+ \slurdotted
+ \skip 2.*3;
+ \clef alto;
+ \skip 2.*11;
+ s2._"Fine"
+ \bar ":|";
+}
+
+menuetto_i_alto_scripts = \melodic{
+ s2.
+ s8^"~"^1_2_4 s8*5
+ s2.*5
+ s4 s-\upbow s-\downbow
+ s2.-\upbow
+ s2.*5
+ s2 s4-\upbow
+ s4-\downbow s2
+ s2.*1
+ s2^0 s4
+ s2.*1
+ s4-\downbow s4-\upbow
+}
+
+menuetto_i_alto_staff = \type Staff <
+ \melodic \transpose c' \$menuetto_i
+ \$menuetto_i_alto_global
+% \$menuetto_i_alto_scripts
+>
+
+\score{
+ \$menuetto_i_alto_staff
+ \include "scs-paper.ly";
+ \midi{ \tempo 4 = 110; }
+}
+
+menuetto_ii_alto_global = \melodic{
+ \time 3/4;
+ \key D;
+ \clef alto;
+ \skip 2.*8;
+ \bar ":|:";
+ \skip 2.*1;
+ \slurdotted
+ \skip 2.*14;
+ s2._"Menuetto I da Capo"
+ \bar ":|";
+}
+
+menuetto_ii_alto_staff = \type Staff <
+ \melodic \transpose c' \$menuetto_ii
+ \$menuetto_ii_alto_global
+% \$menuetto_ii_alto_scripts
+>
+
+\header{
+piece = "Menuetto II";
+opus = "";
+}
+\score{
+ \$menuetto_ii_alto_staff
+ \include "scs-paper.ly";
+ \midi{ \tempo 4 = 130; }
+}
+
filename = "menuetto-cello.ly";
title = "Solo Cello Suites";
subtitle = "Suite II";
-%piece = "Menuetto I";
+piece = "Menuetto I";
source = "?";
% opus = "BWV 1008 no. 5";
opus = "";
\$menuetto_i_cello_staff
\include "scs-paper.ly";
\midi{ \tempo 4 = 110; }
- \header{ piece = "Menuetto I"; }
}
menuetto_ii_cello_global = \melodic{
% \$menuetto_ii_cello_scripts
>
+\header{
+piece = "Menuetto II";
+opus = "";
+}
\score{
\$menuetto_ii_cello_staff
\include "scs-paper.ly";
\midi{ \tempo 4 = 130; }
- \header{ piece = "Menuetto II"; }
}
% menuetto-urtext.ly
-% belongs together with -cello.ly and -viola.ly
+% belongs together with -cello.ly and -alto.ly
% (who is going to make a -violin.ly?)
%{
Well, there are still some scripts in this "urtext".
-But merging melodic and scripts doen't work too well yet (see viola_scripts).
+But merging melodic and scripts doen't work too well yet (see alto_scripts).
%}
menuetto_i_a = \melodic \relative c {
+++ /dev/null
-\header{
-filename = "menuetto-viola.ly";
-title = "Solo Cello Suites";
-subtitle = "Suite II";
-% piece = "Menuetto I";
-description = "Transcribed for Viola";
-source = "?";
-% opus = "BWV 1008 no. 5";
-opus = "";
-composer = "Johann Sebastian Bach (1685-1750)";
-enteredby = "JCN";
-copyright = "public domain";
-}
-
-%{
- Tested Features:breaking algorithm, chords, multivoice, accents,
- dotted slurs
-%}
-
-\version "1.0.0";
-
-\include "menuetto-urtext.ly";
-
-menuetto_i_viola_global = \melodic{
- \time 3/4;
- \key f;
- \clef alto;
- \skip 2.*8;
- \bar ":|:";
- \clef violin;
- \skip 2.*1;
- \slurdotted
- \skip 2.*3;
- \clef alto;
- \skip 2.*11;
- s2._"Fine"
- \bar ":|";
-}
-
-menuetto_i_viola_scripts = \melodic{
- s2.
- s8^"~"^1_2_4 s8*5
- s2.*5
- s4 s-\upbow s-\downbow
- s2.-\upbow
- s2.*5
- s2 s4-\upbow
- s4-\downbow s2
- s2.*1
- s2^0 s4
- s2.*1
- s4-\downbow s4-\upbow
-}
-
-menuetto_i_viola_staff = \type Staff <
- \melodic \transpose c' \$menuetto_i
- \$menuetto_i_viola_global
-% \$menuetto_i_viola_scripts
->
-
-\score{
- \$menuetto_i_viola_staff
- \include "scs-paper.ly";
- \midi{ \tempo 4 = 110; }
- \header{ piece = "Menuetto I"; }
-}
-
-menuetto_ii_viola_global = \melodic{
- \time 3/4;
- \key D;
- \clef alto;
- \skip 2.*8;
- \bar ":|:";
- \skip 2.*1;
- \slurdotted
- \skip 2.*14;
- s2._"Menuetto I da Capo"
- \bar ":|";
-}
-
-menuetto_ii_viola_staff = \type Staff <
- \melodic \transpose c' \$menuetto_ii
- \$menuetto_ii_viola_global
-% \$menuetto_ii_viola_scripts
->
-
-\score{
- \$menuetto_ii_viola_staff
- \include "scs-paper.ly";
- \midi{ \tempo 4 = 130; }
- \header{ piece = "Menuetto II"; }
-}
-
--- /dev/null
+\header{
+filename = "prelude-alto.ly";
+title = "Solo Cello Suites";
+subtitle = "Suite II";
+piece = "Pr\\'elude"; % duh
+opus = "BWV 1008";
+% opus = "";
+composer = "Johann Sebastian Bach (1685-1750)";
+enteredby = "JCN";
+copyright = "public domain";
+}
+
+%{
+ Tested Features:breaking algorithm, chords, multivoice, accents,
+ dotted slurs
+%}
+
+\version "1.0.0";
+
+\include "prelude-urtext.ly";
+
+prelude_alto_global = \melodic{
+ \time 3/4;
+ \key f;
+ \clef alto;
+ \skip 2.*63;
+ \bar "|.";
+}
+
+prelude_alto_scripts = \melodic{
+}
+
+prelude_alto_staff = \type Staff <
+ \melodic \transpose c' \$prelude
+ \$prelude_alto_global
+ \$prelude_alto_scripts
+>
+
+\score{
+ \$prelude_alto_staff
+ \include "scs-paper.ly";
+ \midi{ \tempo 4 = 40; }
+}
+
filename = "prelude-cello.ly";
title = "Solo Cello Suites";
subtitle = "Suite II";
-%piece = "Pr\\'elude"; % duh
+piece = "Pr\\'elude"; % duh
opus = "BWV 1008";
% opus = "";
composer = "Johann Sebastian Bach (1685-1750)";
\$prelude_cello_staff
\include "scs-paper.ly";
\midi{ \tempo 4 = 40; }
- \header{ piece = "Pr\\'elude"; }
}
% prelude-urtext.ly
-% belongs together with -cello.ly and -viola.ly
+% belongs together with -cello.ly and -alto.ly
% who is going to make a -violin.ly?
%{
Well, there are still some scripts in this "urtext".
-But merging melodic and scripts doen't work too well yet see viola_scripts .
+But merging melodic and scripts doen't work too well yet see alto_scripts .
%}
% urg, Thread is gone, try Voice
+++ /dev/null
-\header{
-filename = "prelude-viola.ly";
-title = "Solo Cello Suites";
-subtitle = "Suite II";
-% piece = "Pr\\'elude"; % duh
-opus = "BWV 1008";
-% opus = "";
-composer = "Johann Sebastian Bach (1685-1750)";
-enteredby = "JCN";
-copyright = "public domain";
-}
-
-%{
- Tested Features:breaking algorithm, chords, multivoice, accents,
- dotted slurs
-%}
-
-\version "1.0.0";
-
-\include "prelude-urtext.ly";
-
-prelude_viola_global = \melodic{
- \time 3/4;
- \key f;
- \clef alto;
- \skip 2.*63;
- \bar "|.";
-}
-
-prelude_viola_scripts = \melodic{
-}
-
-prelude_viola_staff = \type Staff <
- \melodic \transpose c' \$prelude
- \$prelude_viola_global
- \$prelude_viola_scripts
->
-
-\score{
- \$prelude_viola_staff
- \include "scs-paper.ly";
- \midi{ \tempo 4 = 40; }
- \header{ piece = "Pr\\'elude"; }
-}
-
--- /dev/null
+\header{
+filename = "sarabande-alto.ly";
+title = "Solo Cello Suites";
+subtitle = "Suite II";
+piece = "Sarabande";
+% opus = "BWV 1008";
+opus = "";
+composer = "Johann Sebastian Bach (1685-1750)";
+enteredby = "JCN";
+copyright = "public domain";
+}
+
+%{
+ Tested Features:breaking algorithm, chords, multivoice, accents,
+ dotted slurs
+%}
+
+\version "1.0.0";
+
+\include "sarabande-urtext.ly";
+
+sarabande_alto_global = \melodic{
+ \time 3/4;
+ \key f;
+ \clef alto;
+ \skip 2.*12;
+ \bar ":|:";
+ \skip 2.*16;
+ \bar ":|";
+}
+
+sarabande_alto_scripts = \melodic{
+}
+
+sarabande_alto_staff = \type Staff <
+ \melodic \transpose c' \$sarabande
+ \$sarabande_alto_global
+ \$sarabande_alto_scripts
+>
+
+\score{
+ \$sarabande_alto_staff
+ \include "scs-paper.ly";
+ \midi{ \tempo 4 = 40; }
+}
+
filename = "sarabande-cello.ly";
title = "Solo Cello Suites";
subtitle = "Suite II";
-% piece = "Sarabande";
+piece = "Sarabande";
% opus = "BWV 1008";
opus = "";
composer = "Johann Sebastian Bach (1685-1750)";
\$sarabande_cello_staff
\include "scs-paper.ly";
\midi{ \tempo 4 = 40; }
- \header{ piece = "Sarabande"; }
}
% sarabande-urtext.ly
-% belongs together with -cello.ly and -viola.ly
+% belongs together with -cello.ly and -alto.ly
% (who is going to make a -violin.ly?)
%{
Well, there are still some scripts in this "urtext".
-But merging melodic and scripts doen't work too well yet (see viola_scripts).
+But merging melodic and scripts doen't work too well yet (see alto_scripts).
%}
n = { \slurnormal }
+++ /dev/null
-\header{
-filename = "sarabande-viola.ly";
-title = "Solo Cello Suites";
-subtitle = "Suite II";
-% piece = "Sarabande";
-% opus = "BWV 1008";
-opus = "";
-composer = "Johann Sebastian Bach (1685-1750)";
-enteredby = "JCN";
-copyright = "public domain";
-}
-
-%{
- Tested Features:breaking algorithm, chords, multivoice, accents,
- dotted slurs
-%}
-
-\version "1.0.0";
-
-\include "sarabande-urtext.ly";
-
-sarabande_viola_global = \melodic{
- \time 3/4;
- \key f;
- \clef alto;
- \skip 2.*12;
- \bar ":|:";
- \skip 2.*16;
- \bar ":|";
-}
-
-sarabande_viola_scripts = \melodic{
-}
-
-sarabande_viola_staff = \type Staff <
- \melodic \transpose c' \$sarabande
- \$sarabande_viola_global
- \$sarabande_viola_scripts
->
-
-\score{
- \$sarabande_viola_staff
- \include "scs-paper.ly";
- \midi{ \tempo 4 = 40; }
- \header{ piece = "Sarabande"; }
-}
-
--- /dev/null
+\header{
+instrument="Alto";
+}
+
+instrument="alto";
+\include "solo-cello-suite-ii.ly"
+
+++ /dev/null
-\header{
-instrument="Alto";
-}
-
-instrument="viola";
-\include "solo-cello-suite-ii.ly"
-
+++ /dev/null
-# mutopia/Makefile
-
-depth = ..
-
-SUBDIRS = J.S.Bach Coriolan W.A.Mozart
-
-examples=standchen gallina
-LOCALMAKEFILES=Mutopia
-
-include $(depth)/make/Stepmake.make
-include $(make-dir)/Mutopia.make
-
-EXTRA_DIST_FILES += TODO
-
-
-
--- /dev/null
+# mutopia/W.A.Mozart
+
+depth = ../..
+
+examples=cadenza
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+
+
+++ /dev/null
-# mutopia/W.A.Mozart
-
-depth = ../..
-
-examples=cadenza
-LOCALMAKEFILES=Mutopia
-
-include $(depth)/make/Stepmake.make
-
-
--- /dev/null
+# title makefile for po
+# file po/Makefile
+
+depth = ..
+
+NAME = lilypond
+MODULE_NAME = po
+
+PO_FILES = $(wildcard *.po)
+MO_FILES = $(addprefix $(outdir)/, $(PO_FILES:.po=.mo))
+HELP_CATALOGS = $(PO_FILES:%.po=%)
+CATALOGS = $(HELP_CATALOGS:lilypond=)
+EXTRA_DIST_FILES = TODO $(PO_FILES)
+
+include $(depth)/make/stepmake.make
+include $(stepdir)/po-rules.make
+
+default: $(MO_FILES)
+
+localinstall: $(MO_FILES)
+ for i in $(CATALOGS); do \
+ $(INSTALL) -d $(localedir)/$$i/LC_MESSAGES; \
+ $(INSTALL) -m 644 $(outdir)/$$i.mo \
+ $(localedir)/$$i/LC_MESSAGES/$(package).mo; \
+ done
+
+localuninstall:
+ for i in $(CATALOGS); do \
+ rm -f $(localedir)/$$i/LC_MESSAGES/$(package).mo; \
+ rmdir $(localedir)/$$i/LC_MESSAGES || true; \
+ done
+
+++ /dev/null
-# title makefile for po
-# file po/Makefile
-
-depth = ..
-
-NAME = lilypond
-MODULE_NAME = po
-
-PO_FILES = $(wildcard *.po)
-MO_FILES = $(addprefix $(outdir)/, $(PO_FILES:.po=.mo))
-HELP_CATALOGS = $(PO_FILES:%.po=%)
-CATALOGS = $(HELP_CATALOGS:lilypond=)
-EXTRA_DIST_FILES = TODO $(PO_FILES)
-
-include $(depth)/make/Stepmake.make
-include $(stepdir)/Po_rules.make
-
-default: $(MO_FILES)
-
-localinstall: $(MO_FILES)
- for i in $(CATALOGS); do \
- $(INSTALL) -d $(localedir)/$$i/LC_MESSAGES; \
- $(INSTALL) -m 644 $(outdir)/$$i.mo \
- $(localedir)/$$i/LC_MESSAGES/$(package).mo; \
- done
-
-localuninstall:
- for i in $(CATALOGS); do \
- rm -f $(localedir)/$$i/LC_MESSAGES/$(package).mo; \
- rmdir $(localedir)/$$i/LC_MESSAGES || true; \
- done
-
--- /dev/null
+# bin/Makefile
+
+depth = ..
+SEXECUTABLES=convert-mudela mudela-book ly2dvi
+STEPMAKE_TEMPLATES=script
+
+
+include $(depth)/make/stepmake.make
+
+# include $(stepdir)/Executable_targets.make
+
+
+++ /dev/null
-# bin/Makefile
-
-depth = ..
-SEXECUTABLES=convert-mudela mudela-book ly2dvi
-MAKEFILES=Script
-
-
-include $(depth)/make/Stepmake.make
-
-include $(stepdir)/Executable_targets.make
-
-
# Original LaTeX file made by Mats Bengtsson, 17/8 1997
#
-VERSION="0.12.jcn1"
+VERSION="0.12"
NAME=ly2dvi.sh
IDENTIFICATION="$NAME $VERSION"
NOW=`date`
# NEWS
-# 0.12.jcn1
-# - mudelaDefs really fixed (sorry, PC)
-
# 0.12
# - -S/--sourcedir switch
+#
#
#0.11.jcn3
if [ "$SOURCEDIR" != "" ]; then
# apparently MakeTeXTFM can't handle relative dirs
SOURCEDIR=`cd $SOURCEDIR; pwd`
- export LILYINCLUDE="$SOURCEDIR/init:$SOURCEDIR/mf/out:$LILYINCLUDE"
- export TEXINPUTS="$SOURCEDIR/tex:$TEXINPUTS:"
- export MFINPUTS="$SOURCEDIR/mf:$MFINPUTS:"
- export LILYPOND_EXECUTABLE="$SOURCEDIR/lily/out/lilypond"
+ LILYINCLUDE="$SOURCEDIR/init:$SOURCEDIR/mf/out:$LILYINCLUDE"
+ TEXINPUTS="$SOURCEDIR/tex:$TEXINPUTS:"
+ MFINPUTS="$SOURCEDIR/mf:$MFINPUTS:"
+ LILYPOND_EXECUTABLE="$SOURCEDIR/lily/out/lilypond"
+ export MFINPUTS LILYPOND_EXECUTABLE TEXINPUTS SOURCEDIR
fi
#
#
mudelaDefs(){
# Include \def\mudela-definitions
-# The aim here is to pick up the definition for the
-# current file, then any other file.
#
-mudelatmp=$TMP/mudelaDefs$$
-# Use `cat' to prevent filenames being prepended
-#
-cat "$File" $OF | fgrep "$MU_DEF" > $mudelatmp
for L in $MU_DEF
do
- # This converts \def\mudelatitle{fred}
- # to \mudelatitle{fred} or to
- # \def\mudelatitle{fred}
- # and stops after the first one found.
- sed -n '/\\def\\'"$L"'{\([^}]*\)}.*$/{
- s//'"`regexp_quote \"$1\"`"'\\'"$L"'{\1}%/p
- q
- }' $mudelatmp >> $LatF
+ for F in "$File" "$OF"
+ do
+ LL=`sed -n 's/\\\\def\\\\'"$L"'{\([^}]*\)}.*$/\1/p' "$F"`
+ [ "$LL" ] && {
+ Echo "$1\\"$L'{'"$LL"'}%' >> $LatF
+ break
+ }
+ done
done
-rm -f $mudelatmp
}
#
-#
startFile(){
#
# LaTeX file name
#!@PYTHON@
name = 'ly2dvi'
-version = '0.0.1'
+version = '0.0.2'
import sys
import os
\\end{document}
""")
this.__fd.close()
- stat = os.system('latex \'\\nonstopmode \\input %s\'' %
- (this.__outfile))
+ if ( os.name == 'posix' ):
+ stat = os.system('latex \'\\nonstopmode \\input %s\'' %
+ (this.__outfile))
+ else: # Windows shells don't eat the single quotes
+ stat = os.system('latex \\nonstopmode \\input %s' %
+ (this.__outfile))
if stat:
sys.exit('ExitBadLatex')
if os.path.isfile(outfile):
def get_texfile_path (this, var):
path =''
- cmd =('kpsewhich tex %s' % var)
+ cmd =('kpsewhich tex %s 2>&1' % var)
pipe = os.popen (cmd, 'r')
path = pipe.readline ()[:-1] # chop off \n
- if not path:
+ if pipe.close():
path = os.path.join(this.get('root'), 'texmf', 'tex', 'lilypond', var)
fd = open(path, 'r')
p=os.path.split(p[0])
this.__set('root',p[0],'init')
+ t=''
if os.environ.has_key ('TEXINPUTS'):
t = os.pathsep + os.environ['TEXINPUTS']
os.environ['TEXINPUTS'] = os.path.join(this.get('root'), 'texmf',
infile.open(file)
infile.setVars() # first pass set variables
infile.close()
- Props.printProps()
+# Props.printProps()
if firstfile:
outfile.start(file)
else:
-#!@PYTHON@
+
+# python version of mudela-book. WIP.
# TODO: center option
--- /dev/null
+# Documentation/Makefile
+
+depth = ..
+
+
+OUTTXT_FILES = $(OUTYO_FILES:.yo=.txt) $(OUTIN_FILES:.yo=.txt)
+EXTRA_DIST_FILES =
+SUBDIRS=topdocs
+
+
+STEPMAKE_TEMPLATES=documentation
+
+include $(depth)/make/stepmake.make
+
+default: do-doc
+
+do-doc: $(OUTTXT_FILES)
+
+# ugh
+check-doc-deps: do-doc
+ true
+
+doc: do-doc
+
+++ /dev/null
-# Documentation/Makefile
-
-depth = ..
-
-
-OUTTXT_FILES = $(OUTYO_FILES:.yo=.txt) $(OUTIN_FILES:.yo=.txt)
-EXTRA_DIST_FILES =
-SUBDIRS=topdocs
-
-
-MAKEFILES=Documentation
-
-include $(depth)/make/Stepmake.make
-
-default: do-doc
-
-do-doc: $(OUTTXT_FILES)
-
-# ugh
-check-doc-deps: do-doc
- true
-
-doc: do-doc
-
--- /dev/null
+# Documentation/topdocs/Makefile
+
+depth = ../..
+
+SUBDIRS=
+BLURBS=BLURB #COPERTINA FLAPTEKST
+AT_FILES = $(BLURBS) #
+at-dir = $(doc-dir)/
+at-ext = .in
+BLURBS=BLURB COPERTINA FLAPTEKST
+
+STEPMAKE_TEMPLATES=documentation yolily-topdoc
+
+include $(depth)/make/stepmake.make
+
+++ /dev/null
-# Documentation/topdocs/Makefile
-
-depth = ../..
-
-SUBDIRS=
-BLURBS=BLURB #COPERTINA FLAPTEKST
-AT_FILES = $(BLURBS) #
-at-dir = $(doc-dir)/
-at-ext = .in
-BLURBS=BLURB COPERTINA FLAPTEKST
-
-TO_TOP_FILES=$(addprefix $(outdir)/, $(README_TOP_FILES))
-
-
-MAKEFILES=Documentation
-
-include $(depth)/make/Stepmake.make
-
-
-default: do-doc
-
-# urg
-$(outdir)/%.html: %.yo
- $(YODL2HTML) -doutdir=$(outdir) --live-data=3 -o $@.in $<
- $(sed-version) < $@.in > $@
- rm -f $@.in
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=index.html --news=$(depth)/NEWS $@
-
-local-WWW:
- -cp $(outdir)/*gif $(outdir)/index.html $(depth) # don't fail if not making website
-
-copy-to-top:
- $(foreach i, $(TO_TOP_FILES), \
- cp $(i) $(depth)/ && ) true
+pl 45
+ - Foo_rules.make -> foo-rules.make
+
+pl 44
+ - split: Toplevel.make, debian/Makefile, Documentation/topdocs/Makefile
+
pl 43
- grand split up in targets/rules/variables. The vars should be before rules!!
pl 42
PACKAGE_NAME=StepMake
MAJOR_VERSION=0
MINOR_VERSION=1
-PATCH_LEVEL=43
+PATCH_LEVEL=45
MY_PATCH_LEVEL=
# use the above to send patches, always empty for released version:
AC_OUTPUT($CONFIGFILE.make:config.make.in)
rm -f Makefile
- cp make/Toplevel.make.in ./Makefile
+ cp make/toplevel.make.in ./Makefile
chmod 444 Makefile
])
then
true
else
- AC_STEPMAKE_WARN(can't find g++ 2.7, 2.8 or egcs)
+ AC_STEPMAKE_WARN(can\'t find g++ 2.7, 2.8 or egcs)
fi
])
--- /dev/null
+# bin/Makefile
+
+depth = ..
+
+EXTRA_DIST_FILES = install-sh config.sub config.guess
+STEPMAKE_TEMPLATES=script
+
+include $(depth)/make/stepmake.make
+
+
+++ /dev/null
-# bin/Makefile
-
-depth = ..
-
-EXTRA_DIST_FILES = install-sh config.sub config.guess
-MAKEFILES=Script
-
-include $(depth)/make/Stepmake.make
-
-
rm -f Makefile
- cp make/Toplevel.make.in ./Makefile
+ cp make/toplevel.make.in ./Makefile
chmod 444 Makefile
--- /dev/null
+# file make/Makefile
+
+depth = ..
+STEPMAKE_TEMPLATES=makedir
+BLURBS=BLURB # COPERTINA FLAPTEKST
+
+
+include $(depth)/make/stepmake.make
+
+
+
+++ /dev/null
-# file make/Makefile
-
-depth = ..
-MAKEFILES=Makedir
-BLURBS=BLURB # COPERTINA FLAPTEKST
-
-include $(depth)/make/Stepmake.make
-
-
-
+++ /dev/null
-# title package specific rules
-# file make/Rules.lilymake.make
-
-$(outdir)/%: %.in
- rm -f $@
- cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
-
-
+++ /dev/null
-0.1.26
-0.1.26.jcn1
-0.1.26.hwn1
-0.1.26.jcn2
-0.1.26.jcn3
-0.1.27
-0.1.28
-0.1.29
-0.1.30
-0.1.32
-0.1.33
-0.1.34
-0.1.35
-0.1.36
-0.1.37
-0.1.38
-0.1.39
-0.1.40
-0.1.41
+++ /dev/null
-# make/Stepmake.make
-
-include $(depth)/make/Toplevel_version.make
-
-# Don't try to outsmart us, you puny computer!
-ifeq (0,${MAKELEVEL})
- MAKE:=$(MAKE) --no-builtin-rules
-endif
-
-ifndef config
- configuration=config
-else
- configuration=config-$(config)
-endif
-
-include $(depth)/$(configuration).make
-
-ifdef CONFIGSUFFIX
-outdir=out-$(CONFIGSUFFIX)
-else
-outdir=out
-endif
-
-
-stepdir = $(depth)/$(stepmake)/stepmake
--include $(stepdir)/Include.make
-MAKEFILES := Generic $(MAKEFILES)
-
-include $(addprefix $(stepdir)/,$(addsuffix _vars.make, $(MAKEFILES)))
-include $(addprefix $(depth)/make/,$(addsuffix _vars.make, $(LOCALMAKEFILES)))
-include $(addprefix $(stepdir)/,$(addsuffix _rules.make, $(MAKEFILES)))
-include $(addprefix $(depth)/make/,$(addsuffix _rules.make, $(LOCALMAKEFILES)))
-include $(addprefix $(stepdir)/,$(addsuffix _targets.make, $(MAKEFILES)))
-include $(addprefix $(depth)/make/,$(addsuffix _targets.make, $(LOCALMAKEFILES)))
-
-
+++ /dev/null
-# Substitute.make
-
-ATVARIABLES = \
- BASH\
- DATE\
- date\
- DIR_DATADIR\
- PACKAGE\
- package\
- PERL\
- PYTHON\
- SHELL\
- TOPLEVEL_VERSION\
- step-bindir\
- abs-step-bindir\
-
-
+++ /dev/null
-# title package specific targets
-# file make/Targets.make
-
-.PHONY : check-dist-deps check-make-deps check-rpm-doc-deps check-html-deps check-www-doc check-rpm-icons
-
-check-dist-deps: check-make-deps
-
-check-html-deps:
- $(MAKE) -C $(depth)/Documentation html
-
-check-www-doc:
- $(MAKE) CONFIGSUFFIX='www' -C Documentation outdirs
- $(MAKE) CONFIGSUFFIX='www' -C Documentation WWW
-
-# check-rpm-doc-deps:
-# $(MAKE) -C $(depth)/Documentation gifs
-
-check-rpm-icons:
-
-check-make-deps:
- $(MAKE) -C $(depth)/make
-
-# urg urg
-$(configheader): $(depth)/$(configuration).hh
- cp $< $@
-
+++ /dev/null
-# -*-Makefile-*-
-# title specific top level makefile for StepMake
-
-# subdir level:
-#
-depth = .
-#
-
-# descent order into subdirectories:
-#
-SUBDIRS = bin make stepmake Documentation
-#
-
-# bootstrap stepmake:
-#
-#
-
-# list of distribution files:
-#
-SCRIPTS = configure aclocal.m4
-README_FILES = NEWS README TODO
-README_TXT_FILES = AUTHORS.txt INSTALL.txt
-EXTRA_DIST_FILES = $(IN_FILES) VERSION $(README_FILES) $(SCRIPTS)
-NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
-
-#
-
-include $(depth)/make/Stepmake.make
-include $(stepdir)/Toplevel.make
-
-
-
-local-dist: do-top-doc
-
-do-top-doc:
- -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(README_TXT_FILES)" copy-to-top
-
-$(README_TXT_FILES): do-top-doc
-
-
+++ /dev/null
-# Toplevel_version.make
-
-include $(depth)/VERSION
-TOPLEVEL_MAJOR_VERSION:=$(MAJOR_VERSION)
-TOPLEVEL_MINOR_VERSION:=$(MINOR_VERSION)
-TOPLEVEL_PATCH_LEVEL:=$(PATCH_LEVEL)
-# use to send patches, always empty for released version:
-TOPLEVEL_MY_PATCH_LEVEL:=$(MY_PATCH_LEVEL)
+++ /dev/null
-# title user changeable settings
-# file make/User.make
-
-# will be split into CFLAGS/EXTRA_CFLAGS etc,
-# so that defineable generically and per module
-
-#
-# -lefence = ElectricFence.
-#
-# ElectricFence is a memory debugger which uses the
-# VM hardware to trap malloc/free errors.
-#
-
-EXTRALIB+= #-lefence
-
+++ /dev/null
-# title package specific variables
-# file make/Variables.lilymake.make
-#
-# do not change this file for site-wide extensions; please use
-# make/$(outdir)/Site.make;
-#
-# Any change in files in this directory (make/) would be distributed, if
-# you do make dist
-#
-
-# dummydeps
-#
-DUMMYDEPS=\
-
-#
-
-STEPMAKE_INCLUDES =
-STEPMAKE_LDFLAGS =
-STEPMAKE_LIBES =
-
--- /dev/null
+# title package specific rules
+# file make/Rules.lilymake.make
+
+#UGH
+
+include $(depth)/make/substitute.make
+
+$(outdir)/%: %.in
+ rm -f $@
+ cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
+
+
--- /dev/null
+# title package specific targets
+# file make/Targets.make
+
+.PHONY : check-dist-deps check-make-deps check-rpm-doc-deps check-html-deps check-www-doc check-rpm-icons
+
+check-html-deps:
+ $(MAKE) -C $(depth)/Documentation html
+
+check-www-doc:
+ $(MAKE) CONFIGSUFFIX='www' -C Documentation outdirs
+ $(MAKE) CONFIGSUFFIX='www' -C Documentation WWW
+
+# check-rpm-doc-deps:
+# $(MAKE) -C $(depth)/Documentation gifs
+
+check-rpm-icons:
+
+check-make-deps:
+ $(MAKE) -C $(depth)/make
+
+# urg urg
+$(configheader): $(depth)/$(configuration).hh
+ cp $< $@
+
--- /dev/null
+# title package specific variables
+# file make/Variables.lilymake.make
+#
+# do not change this file for site-wide extensions; please use
+# make/$(outdir)/Site.make;
+#
+# Any change in files in this directory (make/) would be distributed, if
+# you do make dist
+#
+
+# dummydeps
+#
+DUMMYDEPS=\
+
+#
+
+STEPMAKE_INCLUDES =
+STEPMAKE_LDFLAGS =
+STEPMAKE_LIBES =
+
Begin3
Title: StepMake
-Version: 0.1.43
-Entered-date: 19AUG98
+Version: .1.45
+Entered-date: 24AUG98
Description:
Keywords: music notation typesetting midi fonts engraving
Author: janneke@gnu.org (Jan Nieuwenhuizen)
hanwen@cs.ruu.nl (Han-Wen Nienhuys)
Maintained-by: janneke@gnu.org (Jan Nieuwenhuizen)
Primary-site: sunsite.unc.edu /pub/Linux/apps/sound/convert
- 40k stepmake-0.1.43.tar.gz
+ 40k stepmake-.1.45.tar.gz
Original-site: pcnov095.win.tue.nl /pub/lilypond/development/
- 40k stepmake-0.1.43.tar.gz
+ 40k stepmake-.1.45.tar.gz
Copying-policy: GPL
End
Name: stepmake
-Version: 0.1.43
+Version: .1.45
Release: 1
Copyright: GPL
Group: Development
-Source0: pcnov095.win.tue.nl:/pub/lilypond/development/stepmake-0.1.43.tar.gz
+Source0: pcnov095.win.tue.nl:/pub/lilypond/development/stepmake-.1.45.tar.gz
Summary: generic make package
Packager: janneke@gnu.org (Jan Nieuwenhuizen)
Buildroot: /tmp/stepmake-install
--- /dev/null
+# make/Stepmake.make
+
+include $(depth)/make/toplevel-version.make
+
+# Don't try to outsmart us, you puny computer!
+ifeq (0,${MAKELEVEL})
+ MAKE:=$(MAKE) --no-builtin-rules
+endif
+
+ifndef config
+ configuration=config
+else
+ configuration=config-$(config)
+endif
+
+include $(depth)/$(configuration).make
+
+ifdef CONFIGSUFFIX
+outdir=out-$(CONFIGSUFFIX)
+else
+outdir=out
+endif
+
+stepdir = $(depth)/stepmake
+
+LOCALSTEPMAKE_TEMPLATES:=generic $(LOCALSTEPMAKE_TEMPLATES)
+STEPMAKE_TEMPLATES := generic $(STEPMAKE_TEMPLATES)
+
+default:
+
+include $(addprefix $(depth)/make/,$(addsuffix -vars.make, $(LOCALSTEPMAKE_TEMPLATES)))
+include $(addprefix $(stepdir)/,$(addsuffix -vars.make, $(STEPMAKE_TEMPLATES)))
+include $(addprefix $(depth)/make/,$(addsuffix -rules.make, $(LOCALSTEPMAKE_TEMPLATES)))
+include $(addprefix $(stepdir)/,$(addsuffix -rules.make, $(STEPMAKE_TEMPLATES)))
+include $(addprefix $(depth)/make/,$(addsuffix -targets.make, $(LOCALSTEPMAKE_TEMPLATES)))
+include $(addprefix $(stepdir)/,$(addsuffix -targets.make, $(STEPMAKE_TEMPLATES)))
+
+
+
--- /dev/null
+# Substitute.make
+
+include $(stepdir)/substitute-vars.make
+ATVARIABLES = \
+ BASH\
+ DATE\
+ date\
+ DIR_DATADIR\
+ PACKAGE\
+ package\
+ PERL\
+ PYTHON\
+ SHELL\
+ TOPLEVEL_VERSION\
+ step-bindir\
+ abs-step-bindir\
+
+
--- /dev/null
+
+include $(depth)/VERSION
+topleveL_MAJOR_VERSION:=$(MAJOR_VERSION)
+TOPLEVEL_MINOR_VERSION:=$(MINOR_VERSION)
+TOPLEVEL_PATCH_LEVEL:=$(PATCH_LEVEL)
+# use to send patches, always empty for released version:
+TOPLEVEL_MY_PATCH_LEVEL:=$(MY_PATCH_LEVEL)
--- /dev/null
+# -*-Makefile-*-
+# title specific top level makefile for StepMake
+
+# subdir level:
+#
+depth = .
+#
+
+# descent order into subdirectories:
+#
+SUBDIRS = bin make stepmake Documentation
+#
+
+# bootstrap stepmake:
+#
+#
+
+# list of distribution files:
+#
+SCRIPTS = configure aclocal.m4
+README_FILES = NEWS README TODO
+README_TXT_FILES = AUTHORS.txt INSTALL.txt
+EXTRA_DIST_FILES = $(IN_FILES) VERSION $(README_FILES) $(SCRIPTS)
+NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
+
+#
+
+# bootstrap stepmake:
+#
+STEPMAKE_TEMPLATES=toplevel
+include $(depth)/make/stepmake.make
+#
+
--- /dev/null
+# title user changeable settings
+# file make/User.make
+
+# will be split into CFLAGS/EXTRA_CFLAGS etc,
+# so that defineable generically and per module
+
+#
+# -lefence = ElectricFence.
+#
+# ElectricFence is a memory debugger which uses the
+# VM hardware to trap malloc/free errors.
+#
+
+EXTRALIB+= #-lefence
+
+++ /dev/null
-
-include $(stepdir)/C++_rules.make
-include $(stepdir)/C++_vars.make
+++ /dev/null
-# title C++ rules
-# file make/C++_rules.make
-
-.SUFFIXES: .cc .o .hh .yy .ll .dep
-
-# compile rules:
-#
-$(outdir)/%.o: %.cc
- $(DO_CXX_COMPILE)
-
-$(outdir)/%.o: $(outdir)/%.cc
- $(DO_CXX_COMPILE)
-
-$(outdir)/%.cc: %.yy
- $(BISON) $<
- mv $<.tab.c $@
-
-$(outdir)/%.hh: %.yy
- $(BISON) -d $<
- mv $<.tab.h $@
- mv $<.tab.c $(basename $@).cc
-
-$(outdir)/%.cc: %.ll
- $(FLEX) -Cfe -p -p -t $< > $@
-# could be faster:
-# $(FLEX) -8 -Cf -t $< > $@
-
+++ /dev/null
-
-# added two warnings that are treated by cygwin32's gcc 2.7.2 as errors.
-# huh, but still, no warnings even provoced with linux's gcc 2.7.2.1?
-
-# -pipe makes it go faster, but is not supported on all platforms.
-# EXTRA_CXXFLAGS= -Wall -Winline -W -Wmissing-prototypes -Wmissing-declarations -Wconversion
-EXTRA_CXXFLAGS= -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion
-
-
-CXXFLAGS = $(ICFLAGS) $(DEFINES) $(addprefix -I,$(INCLUDES)) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS) $(USER_CXXFLAGS) $(EXTRA_CXXFLAGS) $(MODULE_CXXFLAGS)
-CXX_OUTPUT_OPTION = $< -o $@
-DO_CXX_COMPILE=$(DODEP) $(CXX) -c $(CXXFLAGS) $(CXX_OUTPUT_OPTION)
-
-# template files:
-TCC_FILES := $(wildcard *.tcc)
-HH_FILES := $(wildcard *.hh)
-CC_FILES := $(wildcard *.cc)
-INL_FILES := $(wildcard *.icc)
-YY_FILES := $(wildcard *.yy)
-LL_FILES := $(wildcard *.ll)
-
-SOURCE_FILES+=$(YY_FILES) $(CC_FILES) $(INL_FILES) $(TCC_FILES) $(HH_FILES) $(LL_FILES)
-OBJECT_FILES+=$(YY_FILES:.yy=.o) $(CC_FILES:.cc=.o) $(LL_FILES:.ll=.o)
-
-TAGS_FILES += $(TCC_FILES) $(HH_FILES) $(INL_FILES) $(CC_FILES)
+++ /dev/null
-
-
-include $(stepdir)/C_vars.make
-include $(stepdir)/C_rules.make
-
-
+++ /dev/null
-# stepmake/C_rules.make
-
-.SUFFIXES: .c .o .h .y .l .dep
-
-$(outdir)/%.o: %.c
- $(DO_C_COMPILE)
-
-$(outdir)/%.o: $(outdir)/%.c
- $(DO_C_COMPILE)
-
-$(outdir)/%.c: %.y
- $(BISON) $<
-# mv $<.tab.c $@
- mv parser.tab.c $@
-
-$(outdir)/%.h: %.y
- $(BISON) -d $<
-# mv $<.tab.h $@
- mv parser.tab.h $@
- mv parser.tab.c $(basename $@).c
-
-$(outdir)/%.c: %.l
- $(FLEX) -Cfe -p -p -t $< > $@
-# could be faster:
-# $(FLEX) -8 -Cf -t $< > $@
-
+++ /dev/null
-
-# header files:
-H_FILES := $(wildcard *.h)
-C_FILES := $(wildcard *.c)
-Y_FILES := $(wildcard *.y)
-L_FILES := $(wildcard *.l)
-
-SOURCE_FILES+=$(Y_FILES) $(C_FILES) $(L_FILES) $(H_FILES)
-OBJECT_FILES+=$(Y_FILES:.y=.o) $(C_FILES:.c=.o) $(L_FILES:.l=.o)
-
-TAGS_FILES += C_FILES H_FILES
-# C/C++
-#
-
-ALL_C_SOURCES += $(H_FILES) $(C_FILES) $(Y_FILES)
-
-# compiler:
-#
-DO_C_COMPILE = $(DODEP) $(CC) -c $(CFLAGS) $(C_OUTPUT_OPTION)
-C_OUTPUT_OPTION = $< -o $@
-
-CFLAGS = $(ICFLAGS) $(DEFINES) $(INCLUDES) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS)
+++ /dev/null
-# stepmake/Documentation.shared.make
-# urg: stuff shared between yodl/lily/stepmake
-
-# could/should do this for bin/Makefile make/Makefile too
-
-### below here is shared between lily/yodl/Documentation and topdocs...
-
-include $(stepdir)/Documentation_vars.make
-include $(stepdir)/Documentation_rules.make
+++ /dev/null
-# Docrules.make
-
-# special rules for the documentation section.
-# There are too many to add to the general rules
-
-.SUFFIXES: .1 .data .html .gif .xpm .tex .txt
-
-$(outdir)/%.gif: %.xpm
- xpmtoppm $< | ppmtogif > $@
-
-$(outdir)/%.txt: $(outdir)/%.1
- troff -man -Tascii $< | grotty -b -u -o > $@
-
-#urg should generalise and move Lilypond -> StepMake
-$(outdir)/%.html: %.data $(depth)/VERSION
- $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ $<
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $@
-
-$(outdir)/%.tex: %.data $(depth)/VERSION
- $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ --latex $<
-
-include $(stepdir)/Yodl_rules.make
-include $(stepdir)/Texinfo_rules.make
--include $(make-dir)/Docrules.make
-
+++ /dev/null
-
-
-do-doc: $(OUTTXT_FILES)
-
-# ugh. FIXME
-ifeq ($(strip $(README_TOP_FILES)),)
-readme-top_FILES-html:
-readme-top_FILES-txt:
-else
-
-readme-top_FILES-txt:
- $(foreach i, $(README_TOP_FILES), \
- cp $(depth)/$(i) $(outdir)/$(i).txt && ) true
-
-readme-top_FILES-html:
- $(foreach i, $(README_TOP_FILES), \
- $(SHELL) $(step-bindir)/text2html.sh $(outdir)/$(i).txt $(outdir)/$(i).html && \
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/../index.html $(outdir)/$(i).html && ) true
-endif
-
-local-WWW: readme-top_FILES-txt readme-top_FILES-html $(OUTHTML_FILES) $(OUTREADME_HTML_FILES)
- echo $^ > $(depth)/wwwlist
-
-doc: do-doc
-
-# what to do here?
-ifneq ($(strip $(INFO_FILES)),)
-
-INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_FILES)" -f $(stepdir)/Install_outfiles.sub.make $@
-
-$(outdir)/$(package).info: check-texinfo-deps $(OUTTEXINFO_FILES)
- $(MAKEINFO) -o $@ $(outdir)/topinfo.texinfo
-
-localinstall: # $(INFO_FILES)
- -$(INSTALL) -d $(infodir)
- $(INFOINSTALL)
-localuninstall:
- $(INFOINSTALL)
-
-endif
-
+++ /dev/null
-# Documentation files
-AT_FILES = $(BLURBS) #
-at-dir = $(doc-dir)/
-at-ext = .in
-
-
-#
-YO_FILES := $(wildcard *.yo)
-POD_FILES := $(wildcard *.pod)
-TEXINFO_FILES := $(wildcard *.texinfo)
-OUTYO_FILES = $(addprefix $(outdir)/,$(YO_FILES))
-OUTPOD_FILES = $(addprefix $(outdir)/,$(POD_FILES))
-OUTTEXINFO_FILES = $(addprefix $(outdir)/,$(TEXINFO_FILES))
-
-#
-ALL_DOC_FILES = $(POD_FILES) $(TEXINFO_FILES) $(YO_FILES)
-OUTTXT_FILES = $(OUTYO_FILES:.yo=.txt) $(OUTIN_FILES:.yo=.txt)
-OUTHTML_FILES = $(OUTYO_FILES:.yo=.html) $(OUTIN_FILES:.yo=.html) # $(OUTREADME_HTML_FILES)
-# OUTTEXINFO_FILES= $(addprefix $(outdir)/, $(addsuffix .texinfo,$(basename $(YO_FILES) .yo)))
-# OUTTEXINFO_FILES = $(outdir)/topinfo.texinfo $(outdir)/mutopia.texinfo
-OUTREADME_TXT_FILES=$(addprefix $(outdir)/,$(addsuffix .txt, $(README_TOP_FILES)))
-OUTREADME_HTML_FILES=$(addprefix $(outdir)/,$(addsuffix .html, $(README_TOP_FILES)))
-
-
-ALL_SOURCES += $(ALL_DOC_FILES)
+++ /dev/null
-# Executable.make
-
-include $(stepdir)/Executable_targets.make
+++ /dev/null
-# Executable.make
-
-# dependency list of executable:
-#
-
-default: $(EXECUTABLE)
-
-$(EXECUTABLE): $(configheader) $(O_FILES) $(outdir)/version.hh $(MODULE_LIBES)
- $(foreach a, $(MODULE_LIBS), $(MAKE) -C $a && ) true
- $(LD_COMMAND) $(O_FILES) $(LOADLIBES)
-
-exe: $(EXECUTABLE)
-
-
-
-localinstall: installexe
-
-localuninstall: uninstallexe
-
-installexe: all
- -$(INSTALL) -d $(bindir)
- $(foreach a, $(EXECUTABLES), \
- $(INSTALL) -m 755 $(outdir)/$(a)$(DOTEXE) $(bindir)/$(a)$(DOTEXE) && \
- strip $(bindir)/$(a)$(DOTEXE) && ) true
- $(foreach a, $(SEXECUTABLES), \
- $(INSTALL) -m 755 $(outdir)/$(a) $(bindir) &&) true
-
-uninstallexe:
- $(foreach a, $(EXECUTABLES), rm -f $(bindir)/$(a)$(DOTEXE) &&) true
- $(foreach a, $(SEXECUTABLES), rm -f $(bindir)/$(a) &&) true
-
-
-%/$(outdir)/library.a:
- $(MAKE) -C $(dir $@)/.. default
+++ /dev/null
-# Files.make
-
-
-O_FILES = $(addprefix $(outdir)/,$(OBJECT_FILES))
-
-DEP_FILES := $(wildcard $(outdir)/*.dep)
-
-# (Why not Makefile too?)
-#
-#
-
-IN_FILES := $(wildcard *.in)
-SOURCE_FILES += $(IN_FILES)
-
-# Preprocessed .in documentation _FILES:
-#
-OUTIN_FILES = $(addprefix $(outdir)/, $(IN_FILES:%.in=%))
-#
-
-ALL_SOURCES = $(SOURCE_FILES)
-
--- /dev/null
+# title makefile for stepmake
+
+# subdir level:
+#
+depth = ..
+#
+
+# descent order into subdirectories:
+#
+SUBDIRS =
+#
+
+STEPMAKE_TEMPLATES=makedir
+
+
+# bootstrap stepmake:
+#
+-include $(depth)/make/stepmake.make
+++ /dev/null
-# title generic make rules
-# file make/Rules.make
-
-# this is supposed to clear all suffixes:
-.SUFFIXES:
-
-$(outdir)/%: %.m4
- $(M4) $< > $@
-
-%.dep:
- touch $@
-
-%.gz: %
- gzip -c9 $< > $@
-
-# bit docrules, these...
-$(outdir)/%.dvi: $(outdir)/%.tex
- (cd $(outdir); tex \\nonstopmode \\input $(<F))
-
-$(outdir)/%.dvi: $(outdir)/%.latex
- (cd $(outdir); \
- latex \\nonstopmode \\input $(<F);\
- bibtex $(basename $(<F));\
- latex \\nonstopmode \\input $(<F);\
- latex \\nonstopmode \\input $(<F);\
- )
-
-$(outdir)/%.ps: $(outdir)/%.dvi
- dvips -ta4 -o $@ $<
-
-
-# hmm, always include these, or include via package/make/Rules.make?
-include $(stepdir)/Substitute.make
-include $(make-dir)/Rules.make
-
-$(outdir)/%: %.in
- rm -f $@
- cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
-
+++ /dev/null
-# title generic make targets
-# file make/Targets.make
-
-.PHONY : all clean config default dist doc doc++ exe help html lib TAGS\
- po
-
-# target all:
-#
-all: default
- $(LOOP)
-
-
-# be careful about deletion.
-clean: localclean
- -rm -f $(outdir)/*
- $(LOOP)
-
-distclean: clean
- $(LOOP)
- $(MAKE) local-distclean
-
-maintainerclean:
- $(LOOP)
- $(MAKE) local-maintainerclean
- $(MAKE) local-distclean
-
-include $(stepdir)/Po.make
-
-
-# configure:
-#
-config:
- ./$(depth)/configure
-#
-
-
-# target help:
-#
-generic-help:
- @echo -e "\
-Makefile for $(PACKAGE_NAME) $(TOPLEVEL_VERSION)\n\
-Usage: $(MAKE) ["VARIABLE=value"]... [TARGET]\n\
-\n\
-Targets:\n"
-
-help: generic-help local-help
- @echo -e "\
- all update everything\n\
- clean remove all genated stuff in $(oudir)\n\
- config rerun configure\n\
- deb build Debian package\n\
- default same as the empty target\n\
- diff generate patch: $(package)-$(TOPLEVEL_VERSION).diff.gz\n\
- . Options:\n\
- . from=0.1.74\n\
- . help==\n\
- . release==\n\
- . to=0.1.74.jcn2\n\
- distclean cleaner than clean (duh)\n\
- doc update all documentation\n\
- doc++ make doc++ documentation\n\
- exe update all executables\n\
- help this help\n\
- install install programs and data (prefix=$(prefix))\n\
- lib update all libraries\n\
- release roll tarball and generate patch\n\
- rpm build RedHat package\n\
- tar same as dist\n\
- TAGS genarate tagfiles\n\
- zip build binary doze distribution\n\
-\n\
-Make may be invoked from any subdirectory\n\
-Note that all commands recurse into SUBSDIRS\n\
-"\
-#
-
-local-help:
-
-doc:
-# $(MAKE) -C $(depth)/Documentation do-doc
- $(MAKE) -C $(depth)/Documentation all
-
-
-# Ugh. C++ specific.
-doc++:
- (cd $(outdir); sh ../$(step-bindir)/tar-docxx.sh $(package)-$(TOPLEVEL_VERSION).tar.gz)
-
-
-
-check-state-vector:
- if [ "`tail -1 $(state-vector)`" != "$(TOPLEVEL_VERSION)" ]; then\
- echo $(TOPLEVEL_VERSION) >> $(state-vector); \
- fi
-
-
-local-dist: $(DIST_FILES) $(OUT_DIST_FILES) $(NON_ESSENTIAL_DIST_FILES)
- mkdir $(distdir)/$(localdir)
- $(LN) $(DIST_FILES) $(distdir)/$(localdir)
-
-#UGH UGH . make ifdef doesn't mix with string substitution semantics (late expansion vs. early expansion)
-#
- if [ "$(NON_ESSENTIAL_DIST_FILES)x" != "x" ] ; then \
- $(LN) $(NON_ESSENTIAL_DIST_FILES) $(distdir)/$(localdir); \
- fi
-
- if [ "$(OUT_DIST_FILES)x" != "x" ] ; then \
- mkdir $(distdir)/$(localdir)/out; \
- $(LN) $(OUT_DIST_FILES) $(distdir)/$(localdir)/out; \
- fi
- $(foreach i, $(SUBDIRS), $(MAKE) distdir=../$(distdir) localdir=$(localdir)/$(i) -C $(i) local-dist &&) true
-
-
-
-html: $(HTML_FILES)
-
-TAGS:
- -if [ "$(TAGS_FILES)" != "" ]; then \
- etags -CT $(TAGS_FILES) || \
- ctags -h ".h.hh.tcc.icc" $(TAGS_FILES) $(ERROR_LOG); \
- fi
-
- $(LOOP)
-
-$(outdir)/version.hh: VERSION
- sh ./$(step-bindir)/make-version.sh > $@
-
-
-# should this be in Rules?
-configure: configure.in aclocal.m4
- autoconf - < $<> $@
- chmod +x configure
-
-localclean:
-
-local-distclean:
-
-local-maintainerclean:
-
-install-strip:
- $(MAKE) INSTALL="$(INSTALL) -s" install
-
-install: localinstall
- $(LOOP)
-
-localinstall:
-
-uninstall: localuninstall
- $(LOOP)
-
-localuninstall:
-
-installextradoc:
- -$(INSTALL) -d $(prefix)/doc/$(package)
- $(foreach i, $(EXTRA_DOC_FILES),\
- cp -r $(i) $(prefix)/doc/$(package) &&) true
-
-WWW: local-WWW
- $(LOOP)
-
-include $(stepdir)/Package.make
-include $(make-dir)/Targets.make
-
-include $(outdir)/dummy.dep $(DEP_FILES)
-
-$(outdir)/dummy.dep:
- -mkdir $(outdir)
- touch $(outdir)/dummy.dep
-
-
-check: local-check
- $(LOOP)
-
-local-check:
+++ /dev/null
-# title generic variables
-# file make/Variables.make
-#
-# do not change this file for site-wide extensions; please use
-# make/$(outdir)/Site.make;
-#
-# Any change in files in this directory (make/) would be distributed, if
-# you do make dist
-
-# directory names:
-
-# depth from group-dir
-# not eh, normally used
-DEPTH = $(depth)/$(package-depth)
-
-topdir := $(shell cd $(depth); pwd)
-pwd := $(shell pwd)
-
-
-# derived names
-ifeq ($(distdir),)
- distdir = $(depth)/$(outdir)/$(DIST_NAME)
- DIST_NAME = $(package)-$(TOPLEVEL_VERSION)
-endif
-distname = $(package)-$(TOPLEVEL_VERSION)
-
-
-
-
-# obsolete?
-makeout = $(depth)/make/$(outdir)
-docout = $(depth)/Documentation/$(outdir)
-binout = $(depth)/bin/$(outdir)
-
-doc-dir = $(depth)/Documentation
-make-dir = $(depth)/make
-po-dir = $(depth)/po
-
-# -c is for copying (now set in config.make)
-# INSTALL = $(stepdir)/../bin/install-sh -c
-
-# user settings:
-#
-include $(make-dir)/Variables.make
-include $(make-dir)/User.make
-#
-
-# urg
-# sort-out which of these are still needed
-#
-$(package)_bindir = $(depth)/bin
-step-bindir = $(depth)/$(stepmake)/bin
-abs-step-bindir = $(topdir)/$(stepmake)/bin
-#
-group-dir = $(shell cd $(DEPTH)/..; pwd)
-release-dir = $(group-dir)/releases
-patch-dir = $(group-dir)/patches
-#
-# i have in $HOME/.rpmrc
-# topdir: /home/fred/usr/src/Redhat
-#
-rpm-sources = $(release-dir)
-rpm-build = $(group-dir)/RedHat/BUILD
-#
-
-# hmm
-configheader=$(outdir)/config.hh
-
-# need to be defined in local Makefiles:
-#
-FOOBAR =
-# the version:
-#
-ifneq ($(MY_PATCH_LEVEL),$(FOOBAR))
-VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL).$(MY_PATCH_LEVEL)
-else
-VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL)
-endif
-
-ifneq ($(TOPLEVEL_MY_PATCH_LEVEL),$(FOOBAR))
-TOPLEVEL_VERSION=$(TOPLEVEL_MAJOR_VERSION).$(TOPLEVEL_MINOR_VERSION).$(TOPLEVEL_PATCH_LEVEL).$(TOPLEVEL_MY_PATCH_LEVEL)
-else
-TOPLEVEL_VERSION=$(TOPLEVEL_MAJOR_VERSION).$(TOPLEVEL_MINOR_VERSION).$(TOPLEVEL_PATCH_LEVEL)
-endif
-state-vector = $(make-dir)/STATE-VECTOR
-#
-
-# clean file lists:
-#
-ERROR_LOG = 2> /dev/null
-SILENT_LOG = 2>&1 > /dev/null
-date := $(shell date +%x) #duplicated?
-
-# compile and link options:
-#
-ARFLAGS = ru
-
-INCLUDES = include $(outdir) $($(PACKAGE)_INCLUDES)
-LDFLAGS = $(ILDFLAGS) $(USER_LDFLAGS) $(EXTRA_LDFLAGS) $(MODULE_LDFLAGS) $($(PACKAGE)_LDFLAGS)
-
-MODULE_LIBES=$(addsuffix /$(outdir)/library.a, $(MODULE_LIBS))
-LOADLIBES = $(MODULE_LIBES) $($(PACKAGE)_LIBES) $(EXTRA_LIBES)
-# urg: for windows ?
-# LOADLIBES = $(MODULE_LIBES) $($(PACKAGE)_LIBES) $(EXTRA_LIBES) -lstdc++
-#
-
-# macro compiler:
-#
-M4 = m4
-#
-
-#
-LD_COMMAND = $(LD) $(LDFLAGS) -o $@
-#
-
-# dependencies:
-#
-depfile = $(outdir)/$(subst .o,.dep,$(notdir $@))#
-DODEP=rm -f $(depfile); DEPENDENCIES_OUTPUT="$(depfile) $(outdir)/$(notdir $@)"
-#
-
-
-# generic target names:
-#
-ifdef NAME
-EXECUTABLE = $(outdir)/$(NAME)$(EXE)
-else
-EXECUTABLE =
-endif
-
-EXECUTABLES = $(notdir $(EXECUTABLE))
-
-
-#
-
-#replace to do stripping of certain objects
-STRIPDEBUG=true
-
-DIST_FILES=$(EXTRA_DIST_FILES) Makefile $(ALL_SOURCES)
-DOCDIR=$(depth)/$(outdir)
-
-
-STRIP=strip --strip-debug
-ifdef stablecc
- STABLEOBS=$(addprefix $(outdir)/,$(stablecc:.cc=.o))
-endif
-
-# substitute $(STRIP) in Site.make if you want stripping
-DO_STRIP=true
-
-
-LOOP=$(foreach i, $(SUBDIRS), $(MAKE) -C $(i) $@ &&) true
-
+++ /dev/null
-# Include.make
-
-
-include $(stepdir)/Files.make
-
+++ /dev/null
-# Initial_outfiles.make
-
-localinstall: localinstall-files
-
-localinstall-files: $(INSTALLATION_OUT_FILES)
- -$(INSTALL) -d $(INSTALLATION_OUT_DIR)
- $(foreach i, $(INSTALLATION_OUT_FILES), \
- $(INSTALL) -m 644 $(i) $(INSTALLATION_OUT_DIR) && )true
-
-localuninstall: localuninstall-files
-
-localuninstall-files:
- $(foreach i, $(notdir $(INSTALLATION_OUT_FILES)), \
- rm -f $(INSTALLATION_OUT_DIR)/$(i) && ) true
- -rmdir $(INSTALLATION_OUT_DIR)
+++ /dev/null
-# Initial_outfiles.sub.make
-
-include $(depth)/make/Stepmake.make
-include $(stepdir)/Install_outfiles.make
-
+++ /dev/null
-# Installfiles.make
-
-localinstall: localinstall-files
-
-localinstall-files:
- -$(INSTALL) -d $(INSTALLATION_DIR)
- $(foreach i, $(INSTALLATION_FILES),\
- $(INSTALL) -m 644 $(i) $(INSTALLATION_DIR) &&)true
-
-localuninstall: localuninstall-files
-
-localuninstall-files:
- $(foreach i, $(INSTALLATION_FILES),\
- rm -f $(INSTALLATION_DIR)/$(i) && ) true
- -rmdir $(INSTALLATION_DIR)
+++ /dev/null
-
-LIBINTL=$(outdir)/libintl.a
-check-lib-intl:
- $(MAKE) -C $(depth)/intl lib
-
-include $(stepdir)/C.make
-
+++ /dev/null
-
-include $(stepdir)/Library_vars.make
-include $(stepdir)/Library_targets.make
+++ /dev/null
-# dependency list of library:
-#
-
-
-default: $(LIBRARY)
-
-$(outdir)/library.a: $(configheader) $(O_FILES) $(MODULE_LIBES)
- $(AR_COMMAND) $(O_FILES)
- $(RANLIB_COMMAND)
-
-$(SHAREDLIBRARY): $(configheader) $(O_FILES) $(MODULE_LIBES)
- $(LD_COMMAND) $(O_FILES) -o $@.$(VERSION)
- rm -f $@
- ln -sf $(outdir)/$(LIB_PREFIX)$(NAME).so.$(VERSION) $@.$(MAJOR_VERSION)
- ln -sf $(LIB_PREFIX)$(NAME).so.$(VERSION) $@
-
-
+++ /dev/null
-
-#ugh ugh .
-ifndef LIB_SUFFIX
-LIB_SUFFIX = .a
-endif
-
-LIB_PREFIX = lib
-
-# librarian:
-#
-AR = ar
-AR_COMMAND = $(AR) $(ARFLAGS) $@
-
-# thanks to Nelson Beebe for this trick.
-RANLIB_COMMAND=$(RANLIB) || $(AR) || true
-
-# linker:
-LIBRARY = $(outdir)/library.a
-SHAREDLIBRARY=$(outdir)/$(LIB_PREFIX)$(NAME).so
+++ /dev/null
-# stepmake/Makedir.shared.make
-
-# urg: stuff shared between yodl/lily/stepmake
+++ /dev/null
-
-
-spec: $(OUTSPEC_FILES)
-
-$(OUTSPEC_FILES): $(depth)/VERSION
-$(OUTLSM_FILES): $(depth)/VERSION
+++ /dev/null
-
-
-# stepmake/Makedir.shared.make
-# urg: stuff shared between yodl/lily/stepmake
-
-MAKE_FILES := $(wildcard *.make)
-LSM_FILES:= $(wildcard *.lsm.in)
-OUTLSM_FILES=$(addprefix $(outdir)/,$(basename $(LSM_FILES)))
-SPEC_FILES:= $(wildcard *.spec.in)
-OUTSPEC_FILES=$(addprefix $(outdir)/,$(basename $(SPEC_FILES)))
-OUT_DIST_FILES= $(strip $(OUTLSM_FILES) $(OUTSPEC_FILES))
-
-EXTRA_DIST_FILES += $(state-vector) $(MAKE_FILES)
-
-# these two outdir FILES are distributed, since they make sense to have
-# without running configure and make.
-
-AT_FILES = $(BLURBS) #
-at-dir = $(doc-dir)/
-at-ext = .in
-
-# is this still used?
-rpmdocs=BUGS TODO NEWS DEDICATION ANNOUNCE README
-rpmdvis=$(rpmmudocs:.doc=.dvi)
-rpmexamples= $(addprefix input/, $(notdir $(shell ls $(depth)/input/*.ly)))
-
-
+++ /dev/null
-# title makefile for stepmake
-
-# subdir level:
-#
-depth = ..
-#
-
-# descent order into subdirectories:
-#
-SUBDIRS =
-#
-
-MAKEFILES=Makedir
-
-
-# bootstrap stepmake:
-#
--include $(depth)/make/Stepmake.make
-
-# gory hack: stepmake itself is a stepmake package.
-default:
- rm -f stepmake
- ln -s ../stepmake .
- rm -f bin
- ln -s ../bin .
+++ /dev/null
-# Manual.make
-
-MANGROFF = $(addprefix $(outdir)/, $(addsuffix .$(SECTION)))
-
-localinstall: $(MANGROFFS)
- -$(INSTALL) -d $(mandir)/man$(SECTION)
- $(INSTALL) -m 644 $(MANGROFFS) $(mandir)/man$(SECTION)
-
-
-localuninstall:
- (cd $(mandir)/man$(SECTION)/; rm -f $(MANGROFF))
-
-
-
-
+++ /dev/null
-
-$(outdir)/%.dvi: %.mf
- mf $<
- gftodvi $(basename $<)
- mv $(basename $<).dvi $(outdir)
- rm $(basename $<).*gf
-
-$(outdir)/%.log: %.mf
- mf $<
- mv $(@F) $@
- rm $(basename $< ).*gf
-
+++ /dev/null
-
-MF_FILES = $(wildcard *.mf)
-FONT_FILES = $(wildcard *[0-9].mf)
-EXTRA_DIST_FILES += $(MF_FILES)
-
+++ /dev/null
-# stepmake/Package.make
-
-package-icon=$(outdir)/$(package)-icon.gif
-
-deb:
- $(MAKE) -C $(depth)/debian
-
-# urg
-#(cd $(depth)/../debian/$(distname); \
-# ln -sf debian DEBIAN; )
-# su -c 'dpkg-deb -b $(depth)/../debian/$(distname)'
-# urg, why aren't there any decent manual pages for dpkg or rpm?
- su -c '(cd $(depth)/../debian; \
- rm -rf $(distname) $(distname).deb;\
- tar xz -C $(depth)/../debian -f $(release-dir)/$(distname).tar.gz; \
- cd $(distname);\
- dpkg-buildpackage -b; \
- )'
-
-makeflags=$(patsubst %==, %, $(patsubst %----,%,$(MAKEFLAGS:%=--%)))
-
-diff:
- $(PYTHON) $(step-bindir)/package-diff.py --package=$(topdir) $(makeflags)
-
-release:
- $(PYTHON) $(step-bindir)/release.py --package=$(topdir)
-
-rpm: $(depth)/$(package-icon) dist
- su -c 'rpm -tb $(depth)/$(outdir)/$(distname).tar.gz'
-
-update:
- $(PYTHON) $(step-bindir)/update.py --package=$(topdir) $(makeflags)
-
-zip:
- $(SHELL) $(step-bindir)/package-zip.sh $(topdir) $(prefix:/%=%)
-
+++ /dev/null
-
-
-####
-#### UGH!
-new-po:
- if test -r $(po-dir); then \
- rm -f $(po-dir)/$(outdir)/$(package).po; \
- touch $(po-dir)/$(outdir)/$(package).po; \
- fi
-
-ifeq ($(strip $(depth)),.)
-po: new-po
- $(LOOP)
-localpo:
- @true
-else
-po: localpo
- $(LOOP)
-ALL_PO_SOURCES = $(ALL_C_SOURCES) $(wildcard $(outdir)/*.hh) $(wildcard $(outdir)/*.cc)
-localpo:
-ifneq ($(strip $(ALL_PO_SOURCES)),)
- @echo $(ALL_PO_SOURCES)
- xgettext --c++ --default-domain=$(package) --join \
- --output-dir=$(po-dir)/$(outdir) --add-comments \
- --keyword=_ --keyword=_f $(ALL_PO_SOURCES)
-endif
-endif
-
-
-po-update: po
- $(MAKE) -C $(po-dir) po-update
-
-show-po-changes:
- $(MAKE) -C $(po-dir) show-po-changes
-
+++ /dev/null
-# Porules.make
-
-.SUFFIXES: .po .mo
-
-$(outdir)/%.mo: %.po
- $(MSGFMT) -o $@ $<
-
-# sed-pofile = sed 's/^. \#: .*//'
-sed-pofile = sed 's/^\#: .*//'
-sed-makestuff = sed 's/[a-zA-Z_/]*make\[[0-9]*\].*//'
-sed-edstuff = sed 's/[ \.,adic0-9]*//' | sed 's/---//' | sort -u
-
-po-update:
- $(foreach i,$(CATALOGS), \
- rm -f $(po-dir)/$(outdir)/$(i).po; \
- tupdate $(po-dir)/$(outdir)/$(package).po $(po-dir)/$(i).po \
- > $(po-dir)/$(outdir)/$(i).po && ) true
- $(foreach i,$(CATALOGS), \
- changes=`$(MAKE) --silent -C $(po-dir) LANGUAGE=$$i show-po-changes $(ERROR_LOG) | $(sed-makestuff)`; \
- if test "$$changes" != "" ; then \
- echo "*** Changes for language $$i; check po/$(outdir)/$$i.po ***"; \
- echo -e "changes: \`$$changes'";\
- fi; && ) true
-
-
-show-po-changes:
- diff -e $(po-dir)/$(outdir)/$(LANGUAGE).po $(po-dir)/$(LANGUAGE).po \
- | $(sed-pofile) | $(sed-edstuff)
+++ /dev/null
-# Pod_rules.make
-
-.SUFFIXES: .1 .5 .html .pod .txt
-
-pod2html=pod2html
-pod2groff=pod2man --center="$(PACKAGE_NAME) documentation" --section="0"\
- --release="$(PACKAGE_NAME) $(VERSION)" $< > $@
-
-
-# perl 5.003/4
-POD2HTML_5003=$(POD2HTML) $< ; mv $(notdir $@) $(outdir)/ || true
-# urg, broken. if you must have perl 5004, better install pod2html from 5003
-POD2HTML_5004=$(POD2HTML) --noindex --infile $< --outfile=$@; sh $(depth)/bin/add-URLs.sh $@
-
-do_pod2html=$($(POD2HTML_VERSION))
-
-$(outdir)/%.html: $(outdir)/%.pod $(depth)/VERSION
- $(do_pod2html)
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index $(depth)/../index.html $@
-
-$(outdir)/%.pod: %.pod
- cp $< $@
-
-$(outdir)/%.5: %.pod
- $(pod2groff)
-
-$(outdir)/%.1: %.pod
- $(pod2groff)
-
-$(outdir)/%.1: $(outdir)/%.pod
- -$(pod2groff)
-
+++ /dev/null
-
-include $(stepdir)/Generic_rules.make
+++ /dev/null
-0.1.26
-0.1.26.jcn1
-0.1.26.hwn1
-0.1.26.jcn2
-0.1.26.jcn3
-0.1.27
-0.1.28
-0.1.29
-0.1.30
-0.1.32
-0.1.33
-0.1.34
-0.1.35
-0.1.36
-0.1.37
-0.1.38
-0.1.39
-0.1.40
-0.1.41
+++ /dev/null
-# Scripts.make
-
-
-
-
-$(outdir)/%: %.pl
- cat $< | $(sed-atvariables) > $@
- chmod 755 $@
-
-#FIXME. Check for bash?
-$(outdir)/%: %.sh
- cat $< | $(sed-atvariables) > $@
- chmod 755 $@
-
-
-$(outdir)/%: %.py
- cat $< | $(sed-atvariables) > $@
- chmod 755 $@
-
+++ /dev/null
-
-all: $(PERL_SCRIPTS) $(PYTHON_SCRIPTS) $(SH_SCRIPTS)
+++ /dev/null
-
-
-PERL_SCRIPTS_IN := $(wildcard *.pl)
-PERL_SCRIPTS = $(addprefix $(outdir)/, $(PERL_SCRIPTS_IN:.pl=))
-SH_SCRIPTS_IN := $(wildcard *.sh)
-SH_SCRIPTS = $(addprefix $(outdir)/, $(SH_SCRIPTS_IN:.sh=))
-PYTHON_SCRIPTS_IN := $(wildcard *.py)
-PYTHON_SCRIPTS = $(addprefix $(outdir)/, $(PYTHON_SCRIPTS_IN:.py=))
-ALL_SCRIPTS_IN = $(SH_SCRIPTS_IN) $(PERL_SCRIPTS_IN) $(PYTHON_SCRIPTS_IN)
-EXTRA_DIST_FILES += $(ALL_SCRIPTS_IN)
+++ /dev/null
-# Substitute.make
-
-include $(make-dir)/Substitute.make
-
-sed-endline = sed 's!$$!\\!'
-sed-newline = sed 's!$$!\n!'
-sed-quotes = sed "s!\'!\\\&!g"
-sed-quote-line = sed 's!.*$$!\"&\"!'
-
-date := $(shell date '+%d%b%y'|tr '[a-z]' '[A-Z]' )
-DATE = $(date)
-
-# for all FILE in AT_FILES:
-# substitute occurrences of @FILE@ with contents $(at-dir)BLA$(at-ext)
-sed-atfiles = cat $(foreach i, $(AT_FILES), \
- | sed '/@$i@/r $(at-dir)$i$(at-ext)' | sed 's%@$i@%%g')
-
-# for all VAR in ATVARIABLES
-# substitute occurrences of @VAR@ with $(VAR)
-sed-atvariables = cat $(foreach i, $(ATVARIABLES), | sed 's!@$i@!$($i)!g')
-
-# these are obsolete
-# use ATVARIABLES
-sed-date=sed 's!@DATE@!${date}!g'
-sed-PACKAGE = sed 's!@PACKAGE@!${PACKAGE}!g'
-sed-bash = sed 's!@BASH@!$(BASH)!'
-sed-dir-datadir = sed 's!@DIR_DATADIR@!$(DIR_DATADIR)!'
-sed-package=sed 's!@package@!${package}!g'
-sed-perl = sed 's!@PERL@!$(PERL)!'
-sed-python = sed 's!@PYTHON@!$(PYTHON)!'
-sed-sh = sed 's!@SH@!$(SH)!'
-sed-shell = sed 's!@SH@!$(SHELL)!' | sed 's!@BASH@!$(BASH)!'
-sed-version= sed 's!@TOPLEVEL_VERSION@!${TOPLEVEL_VERSION}!g'
-sed-step-bindir = sed 's!@STEP_BINDIR@!$(pwd)/$(step-bindir)!'
-
+++ /dev/null
-
-include $(stepdir)/Generic_targets.make
+++ /dev/null
-# THIS IS A TEMPLATE FOR SUB-PROJECT MAKEFILES
-# /Makefile
-
-# subdir level:
-#
-depth = ..
-#
-
-# identify module:
-#
-NAME =
-#
-
-# descent order into subdirectories:
-#
-SUBDIRS =
-#
-
-# dependencies and linkage of custom libraries:
-#
-
-MODULE_LIBES = # $(depth)/lib $(depth)/flower
-#
-
-# list of extra distribution files:
-# Makefile, C++ and pod are dist'ed automatically
-EXTRA_DIST_FILES =
-#
-
-# bootstrap stepmake:
-#
-include $(depth)/make/Stepmake.make
-#
-
-# module compile settings: (not generally needed!)
-#
-EXTRA_CFLAGS =
-EXTRA_CXXFLAGS =
-EXTRA_LDFLAGS =
-#
-
-# main target of this module:
-#
-default: $(EXECUTABLE)
-# default: $(LIBRARY)
-#
-
-# EXECUTABLES=
-# include $(stepmake)/Executable.make
-
+++ /dev/null
-# Texinfo_rules.make
-
-.SUFFIXES: .1 .html .texinfo
-
-texi2man = $(step-bindir)/out/texi2man $< $@
-texi2html =\
- rm -f $@.urg;\
- cat $< | sed "s!@include.*!!" > $@.urg;\
- $(TEXI2HTML) $@.urg;\
- rm -f $@.urg;\
- mv $(@F).urg.html $@;\
- rm -f $(@F:%.html=%.html.urg_toc.html);\
- add-URLs $@
-
-$(outdir)/%.1: %.texinfo
- $(texi2man)
-
-# $(outdir)/%.info: %.texinfo
-# $(MAKEINFO) -o $@ $<
-
-$(outdir)/%.info: $(outdir)/%.texinfo
- $(MAKEINFO) -o $@ $<
-
-# $(outdir)/%.html: %.texinfo
-# $(texi2html)
-# add-html-footer --index $(depth)/../index.html $@
-
-# texi2html is as broken as pod2html 5004 :-)
-# we'll have to use pod2html 5003 for now.
-# don't burn your .pod sources!
-#
-$(outdir)/%.html: $(outdir)/%.texinfo
- $(texi2html)
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index $(depth)/../index.html $@
-
-$(outdir)/%.texinfo: %.texinfo
- cp $< $@
-
-$(outdir)/%.1: $(outdir)/%.texinfo
- -$(texi2man)
-
+++ /dev/null
-# -*-Makefile-*-
-# title Toplevel.make
-
-# override Variables.make:
-# do not dist ./Makefile (is copied from make/Toplevel.make)
-#
-DIST_FILES := $(EXTRA_DIST_FILES)
-#
-
-local-dist: configure
-
-local-distclean:
- rm -f config.hh config.make Makefile config.cache \
- config.status config.log index.html
-
-local-maintainerclean:
- rm -f configure
-
-Makefile: make/Toplevel.make.in
- chmod +w $@
- echo "# WARNING WARNING WARNING WARNING" > $@
- echo "# do not edit! this is generated from make/Toplevel.make.in" >> $@
- cat $< >> $@
- chmod -w $@
-
-htmldoc:
- $(MAKE) CONFIGSUFFIX='www' local-WWW
- $(MAKE) CONFIGSUFFIX='www' -C Documentation WWW
- rm -f `find . -name \*.html~ -print`
- -ln -f $(depth)/$(distname).diff.gz out-www
- find `find Documentation -type d -name 'out-www'` -not -name '*dvi' -not -name '*ly' -not -name '*tex' -not -name '*.ps' -not -name 'out-www' > wwwlist
-
- tar cfz $(outdir)/htmldoc.tar.gz `cat wwwlist` $(shell ls *.gif (ERRORLOG)) `ls out-www/$(distname).diff.gz $(ERRORLOG)`
-
-
-
-# if you fix this, please fix yodl too!
-check-top-web:
- $(MAKE) -C Documentation/topdocs WWW
-
-local-WWW: #index.html
-
-index.html: check-top-web NEWS
- $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
-
-WWW-clean:
- $(MAKE) CONFIGSUFFIX='www' clean
-
-
-dist: check-state-vector
- rm -rf $(distdir)
- $(MAKE) local-dist $(distdir)
- chmod -R a+r $(distdir)
- chmod a+x `find $(distdir) -type d -print`
- (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
-# ugh.
-# Can't compare "stage1" dist with "stage2" dist in this way?
- -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
- rm -rf ./$(distdir)/
-
-local-help:
- @echo -e "\
- dist roll tarball: $(outdir)/$(package)-$(TOPLEVEL_VERSION).tar.gz\n"
-
+++ /dev/null
-
-include $(stepdir)/Generic_vars.make
+++ /dev/null
-# Yodl_rules.make
-
-.SUFFIXES: .1 .5 .7 .dvi .html .latex .ps .texinfo .txt .yo
-
-$(outdir)/%.1: %.yo
- $(YODL2MAN) -doutdir=$(outdir) --live-data=3 -o $@ $<
-
-$(outdir)/%.5: %.yo
- $(YODL2MAN) -doutdir=$(outdir) --live-data=3 -o $@ $<
-
-$(outdir)/%.7: %.yo
- $(YODL2MAN) -doutdir=$(outdir) --live-data=3 -o $@ $<
-
-$(outdir)/%.html: %.yo
- $(YODL2HTML) -doutdir=$(outdir) --live-data=3 -o $@ $<
- $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/../index.html $@ $(wildcard $(basename $@)[0-9][0-9].html)
-
-$(outdir)/%.latex: %.yo
- $(YODL2LATEX) -doutdir=$(outdir) --live-data=3 -o $@ $<
-
-$(outdir)/%.texinfo: %.yo
- $(YODL2TEXINFO) -doutdir=$(outdir) --live-data=3 -o $@ $<
-
-$(outdir)/%.txt: %.yo
- $(YODL2TXT) -doutdir=$(outdir) --live-data=3 -o $@ $<
-
--- /dev/null
+# title C++ rules
+# file make/C++_rules.make
+
+.SUFFIXES: .cc .o .hh .yy .ll .dep
+
+# compile rules:
+#
+$(outdir)/%.o: %.cc
+ $(DO_CXX_COMPILE)
+
+$(outdir)/%.o: $(outdir)/%.cc
+ $(DO_CXX_COMPILE)
+
+$(outdir)/%.cc: %.yy
+ $(BISON) $<
+ mv $<.tab.c $@
+
+$(outdir)/%.hh: %.yy
+ $(BISON) -d $<
+ mv $<.tab.h $@
+ rm $<.tab.c # if this happens in the wrong order it triggers recompile of the .cc file
+
+$(outdir)/%.cc: %.ll
+ $(FLEX) -Cfe -p -p -t $< > $@
--- /dev/null
+
+$(configheader): $(depth)/config.h
+ cp $< $@
+
--- /dev/null
+
+# added two warnings that are treated by cygwin32's gcc 2.7.2 as errors.
+# huh, but still, no warnings even provoced with linux's gcc 2.7.2.1?
+
+# -pipe makes it go faster, but is not supported on all platforms.
+# EXTRA_CXXFLAGS= -Wall -Winline -W -Wmissing-prototypes -Wmissing-declarations -Wconversion
+EXTRA_CXXFLAGS= -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion
+
+
+CXXFLAGS = $(ICFLAGS) $(DEFINES) $(addprefix -I,$(INCLUDES)) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS) $(USER_CXXFLAGS) $(EXTRA_CXXFLAGS) $(MODULE_CXXFLAGS)
+CXX_OUTPUT_OPTION = $< -o $@
+DO_CXX_COMPILE=$(DODEP) $(CXX) -c $(CXXFLAGS) $(CXX_OUTPUT_OPTION)
+
+# template files:
+TCC_FILES := $(wildcard *.tcc)
+HH_FILES := $(wildcard *.hh)
+CC_FILES := $(wildcard *.cc)
+INL_FILES := $(wildcard *.icc)
+YY_FILES := $(wildcard *.yy)
+LL_FILES := $(wildcard *.ll)
+
+SOURCE_FILES+=$(YY_FILES) $(CC_FILES) $(INL_FILES) $(TCC_FILES) $(HH_FILES) $(LL_FILES)
+O_FILES+=$(addprefix $(outdir)/, $(YY_FILES:.yy=.o) $(CC_FILES:.cc=.o) $(LL_FILES:.ll=.o))
+
+TAGS_FILES += $(TCC_FILES) $(HH_FILES) $(INL_FILES) $(CC_FILES)
+
+# hmm
+configheader=$(outdir)/config.hh
--- /dev/null
+# stepmake/C_rules.make
+
+.SUFFIXES: .c .o .h .y .l .dep
+
+$(outdir)/%.o: %.c
+ $(DO_C_COMPILE)
+
+$(outdir)/%.o: $(outdir)/%.c
+ $(DO_C_COMPILE)
+
+$(outdir)/%.c: %.y
+ $(BISON) $<
+# mv $<.tab.c $@
+ mv parser.tab.c $@
+
+$(outdir)/%.h: %.y
+ $(BISON) -d $<
+# mv $<.tab.h $@
+ mv parser.tab.h $@
+ mv parser.tab.c $(basename $@).c
+
+$(outdir)/%.c: %.l
+ $(FLEX) -Cfe -p -p -t $< > $@
+# could be faster:
+# $(FLEX) -8 -Cf -t $< > $@
+
--- /dev/null
+#empty
+
+$(configheader): $(depth)/config.h
+ cp $< $@
+
+$(configheader): $(depth)/config.h
+ cp $< $@
--- /dev/null
+
+# header files:
+H_FILES := $(wildcard *.h)
+C_FILES := $(wildcard *.c)
+Y_FILES := $(wildcard *.y)
+L_FILES := $(wildcard *.l)
+
+SOURCE_FILES+=$(Y_FILES) $(C_FILES) $(L_FILES) $(H_FILES)
+
+O_FILES+=$(addprefix $(outdir)/, $(Y_FILES:.y=.o) $(C_FILES:.c=.o) $(L_FILES:.l=.o))
+
+TAGS_FILES += C_FILES H_FILES
+# C/C++
+#
+
+ALL_C_SOURCES += $(H_FILES) $(C_FILES) $(Y_FILES)
+
+# compiler:
+#
+DO_C_COMPILE = $(DODEP) $(CC) -c $(CFLAGS) $(C_OUTPUT_OPTION)
+C_OUTPUT_OPTION = -o $@ $<
+
+CFLAGS = $(ICFLAGS) $(DEFINES) $(addprefix -I,$(INCLUDES)) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS)
+
+# hmm
+configheader=$(outdir)/config.h
--- /dev/null
+# Docrules.make
+
+# special rules for the documentation section.
+# There are too many to add to the general rules
+
+.SUFFIXES: .1 .data .html .gif .xpm .tex .txt
+
+$(outdir)/%.gif: %.xpm
+ xpmtoppm $< | ppmtogif > $@
+
+$(outdir)/%.txt: $(outdir)/%.1
+ troff -man -Tascii $< | grotty -b -u -o > $@
+
+#urg should generalise and move Lilypond -> StepMake
+$(outdir)/%.html: %.data $(depth)/VERSION
+ $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ $<
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $@
+
+$(outdir)/%.tex: %.data $(depth)/VERSION
+ $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ --latex $<
+
+include $(stepdir)/yodl-rules.make
+include $(stepdir)/texinfo-rules.make
+
--- /dev/null
+
+default:
+
+do-doc: $(OUTTXT_FILES)
+
+# ugh. FIXME
+ifeq ($(strip $(README_TOP_FILES)),)
+readme-top_FILES-html:
+readme-top_FILES-txt:
+else
+
+readme-top_FILES-txt:
+ $(foreach i, $(README_TOP_FILES), \
+ cp $(depth)/$(i) $(outdir)/$(i).txt && ) true
+
+readme-top_FILES-html:
+ $(foreach i, $(README_TOP_FILES), \
+ $(SHELL) $(step-bindir)/text2html.sh $(outdir)/$(i).txt $(outdir)/$(i).html && \
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/../index.html $(outdir)/$(i).html && ) true
+endif
+
+local-WWW: readme-top_FILES-txt readme-top_FILES-html $(OUTHTML_FILES) $(OUTREADME_HTML_FILES)
+ echo $^ > $(depth)/wwwlist
+
+doc: do-doc
+
+# what to do here?
+ifneq ($(strip $(INFO_FILES)),)
+
+INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_FILES)" -f $(stepdir)/install-outfiles.sub.make $@
+
+$(outdir)/$(package).info: check-texinfo-deps $(OUTTEXINFO_FILES)
+ $(MAKEINFO) -o $@ $(outdir)/topinfo.texinfo
+
+localinstall: # $(INFO_FILES)
+ -$(INSTALL) -d $(infodir)
+ $(INFOINSTALL)
+localuninstall:
+ $(INFOINSTALL)
+
+endif
+
--- /dev/null
+# Documentation files
+AT_FILES = $(BLURBS) #
+at-dir = $(doc-dir)/
+at-ext = .in
+
+
+#
+YO_FILES := $(wildcard *.yo)
+POD_FILES := $(wildcard *.pod)
+TEXINFO_FILES := $(wildcard *.texinfo)
+OUTYO_FILES = $(addprefix $(outdir)/,$(YO_FILES))
+OUTPOD_FILES = $(addprefix $(outdir)/,$(POD_FILES))
+OUTTEXINFO_FILES = $(addprefix $(outdir)/,$(TEXINFO_FILES))
+
+#
+ALL_DOC_FILES = $(POD_FILES) $(TEXINFO_FILES) $(YO_FILES)
+OUTTXT_FILES = $(OUTYO_FILES:.yo=.txt) $(OUTIN_FILES:.yo=.txt)
+OUTHTML_FILES = $(OUTYO_FILES:.yo=.html) $(OUTIN_FILES:.yo=.html) # $(OUTREADME_HTML_FILES)
+# OUTTEXINFO_FILES= $(addprefix $(outdir)/, $(addsuffix .texinfo,$(basename $(YO_FILES) .yo)))
+# OUTTEXINFO_FILES = $(outdir)/topinfo.texinfo $(outdir)/mutopia.texinfo
+OUTREADME_TXT_FILES=$(addprefix $(outdir)/,$(addsuffix .txt, $(README_TOP_FILES)))
+OUTREADME_HTML_FILES=$(addprefix $(outdir)/,$(addsuffix .html, $(README_TOP_FILES)))
+
+
+ALL_SOURCES += $(ALL_DOC_FILES)
--- /dev/null
+# stepmake/documentation.shared.make
+# urg: stuff shared between yodl/lily/stepmake
+
+# could/should do this for bin/Makefile make/Makefile too
+
+### below here is shared between lily/yodl/Documentation and topdocs...
+
+include $(stepdir)/documentation_vars.make
+include $(stepdir)/documentation_rules.make
--- /dev/null
+# Executable.make
+
+# dependency list of executable:
+#
+
+default: $(EXECUTABLE)
+
+$(EXECUTABLE): $(configheader) $(O_FILES) $(outdir)/version.hh $(MODULE_LIBES)
+ $(foreach a, $(MODULE_LIBS), $(MAKE) -C $a && ) true
+ $(LD_COMMAND) $(O_FILES) $(LOADLIBES)
+
+exe: $(EXECUTABLE)
+
+
+
+localinstall: installexe
+
+localuninstall: uninstallexe
+
+installexe: all
+ -$(INSTALL) -d $(bindir)
+ $(foreach a, $(EXECUTABLES), \
+ $(INSTALL) -m 755 $(outdir)/$(a) $(bindir)/$(a)$(DOTEXE) && \
+ strip $(bindir)/$(a)$(DOTEXE) && ) true
+ $(foreach a, $(SEXECUTABLES), \
+ $(INSTALL) -m 755 $(outdir)/$(a) $(bindir) &&) true
+
+uninstallexe:
+ $(foreach a, $(EXECUTABLES), rm -f $(bindir)/$(a)$(DOTEXE) &&) true
+ $(foreach a, $(SEXECUTABLES), rm -f $(bindir)/$(a) &&) true
+
+
+%/$(outdir)/library.a:
+ $(MAKE) -C $(dir $@)/.. default
--- /dev/null
+# Files.make
+
+
+
+DEP_FILES := $(wildcard $(outdir)/*.dep)
+
+# (Why not Makefile too?)
+#
+#
+
+IN_FILES := $(wildcard *.in)
+SOURCE_FILES += $(IN_FILES)
+
+# Preprocessed .in documentation _FILES:
+#
+OUTIN_FILES = $(addprefix $(outdir)/, $(IN_FILES:%.in=%))
+#
+
+ALL_SOURCES = $(SOURCE_FILES)
+
--- /dev/null
+# title generic make rules
+# file make/Rules.make
+
+# this is supposed to clear all suffixes:
+.SUFFIXES:
+
+
+
+$(outdir)/%: %.m4
+ $(M4) $< > $@
+
+%.dep:
+ touch $@
+
+%.gz: %
+ gzip -c9 $< > $@
+
+# bit docrules, these...
+$(outdir)/%.dvi: $(outdir)/%.tex
+ (cd $(outdir); tex \\nonstopmode \\input $(<F))
+
+$(outdir)/%.dvi: $(outdir)/%.latex
+ (cd $(outdir); \
+ latex \\nonstopmode \\input $(<F);\
+ bibtex $(basename $(<F));\
+ latex \\nonstopmode \\input $(<F);\
+ latex \\nonstopmode \\input $(<F);\
+ )
+
+$(outdir)/%.ps: $(outdir)/%.dvi
+ dvips -ta4 -o $@ $<
+
--- /dev/null
+# title generic make targets
+# file make/Targets.make
+
+.PHONY : all clean config default dist doc doc++ exe help html lib TAGS\
+ po
+
+# target all:
+#
+all: default
+ $(LOOP)
+
+
+# be careful about deletion.
+clean: localclean
+ -rm -f $(outdir)/*
+ $(LOOP)
+
+distclean: clean
+ $(LOOP)
+ $(MAKE) local-distclean
+
+maintainerclean:
+ $(LOOP)
+ $(MAKE) local-maintainerclean
+ $(MAKE) local-distclean
+
+
+# configure:
+#
+config:
+ ./$(depth)/configure
+#
+
+
+# target help:
+#
+generic-help:
+ @echo -e "\
+Makefile for $(PACKAGE_NAME) $(TOPLEVEL_VERSION)\n\
+Usage: $(MAKE) ["VARIABLE=value"]... [TARGET]\n\
+\n\
+Targets:\n"
+
+help: generic-help local-help
+ @echo -e "\
+ all update everything\n\
+ clean remove all genated stuff in $(oudir)\n\
+ config rerun configure\n\
+ deb build Debian package\n\
+ default same as the empty target\n\
+ diff generate patch: $(package)-$(TOPLEVEL_VERSION).diff.gz\n\
+ . Options:\n\
+ . from=0.1.74\n\
+ . help==\n\
+ . release==\n\
+ . to=0.1.74.jcn2\n\
+ distclean cleaner than clean (duh)\n\
+ doc update all documentation\n\
+ doc++ make doc++ documentation\n\
+ exe update all executables\n\
+ help this help\n\
+ install install programs and data (prefix=$(prefix))\n\
+ lib update all libraries\n\
+ release roll tarball and generate patch\n\
+ rpm build RedHat package\n\
+ tar same as dist\n\
+ TAGS genarate tagfiles\n\
+ zip build binary doze distribution\n\
+\n\
+Make may be invoked from any subdirectory\n\
+Note that all commands recurse into SUBSDIRS\n\
+"\
+#
+
+local-help:
+
+doc:
+#UGH
+ true # $(MAKE) -C $(depth)/Documentation all
+
+
+# Ugh. C++ specific.
+doc++:
+ (cd $(outdir); sh ../$(step-bindir)/tar-docxx.sh $(package)-$(TOPLEVEL_VERSION).tar.gz)
+
+
+
+
+
+local-dist: $(DIST_FILES) $(OUT_DIST_FILES) $(NON_ESSENTIAL_DIST_FILES)
+ mkdir -p $(distdir)/$(localdir)
+ $(LN) $(DIST_FILES) $(distdir)/$(localdir)
+
+#UGH UGH . make ifdef doesn't mix with string substitution semantics (late expansion vs. early expansion)
+#
+ case "$(NON_ESSENTIAL_DIST_FILES)x" in x) ;; *) \
+ $(LN) $(NON_ESSENTIAL_DIST_FILES) $(distdir)/$(localdir);; \
+ esac
+
+ case "$(OUT_DIST_FILES)x" in x) ;; *) \
+ mkdir $(distdir)/$(localdir)/out; \
+ $(LN) $(OUT_DIST_FILES) $(distdir)/$(localdir)/out;; \
+ esac
+ $(foreach i, $(SUBDIRS), $(MAKE) distdir=../$(distdir) localdir=$(localdir)/$(i) -C $(i) local-dist &&) true
+
+
+
+html: $(HTML_FILES)
+
+TAGS:
+ -if [ "$(TAGS_FILES)" != "" ]; then \
+ etags -CT $(TAGS_FILES) || \
+ ctags -h ".h.hh.tcc.icc" $(TAGS_FILES) $(ERROR_LOG); \
+ fi
+
+ $(LOOP)
+
+$(outdir)/version.hh: VERSION
+ sh ./$(step-bindir)/make-version.sh > $@
+
+
+# should this be in Rules?
+configure: configure.in aclocal.m4
+ autoconf - < $<> $@
+ chmod +x configure
+
+localclean:
+
+local-distclean:
+
+local-maintainerclean:
+
+install-strip:
+ $(MAKE) INSTALL="$(INSTALL) -s" install
+
+install: localinstall
+ $(LOOP)
+
+localinstall:
+
+uninstall: localuninstall
+ $(LOOP)
+
+localuninstall:
+
+installextradoc:
+ -$(INSTALL) -d $(prefix)/doc/$(package)
+ $(foreach i, $(EXTRA_DOC_FILES),\
+ cp -r $(i) $(prefix)/doc/$(package) &&) true
+
+WWW: local-WWW
+ $(LOOP)
+
+include $(stepdir)/package.make
+
+include $(outdir)/dummy.dep $(DEP_FILES)
+
+$(outdir)/dummy.dep:
+ -mkdir $(outdir)
+ touch $(outdir)/dummy.dep
+
+
+check: local-check
+ $(LOOP)
+
+local-check:
+
+# ugh. ugh ugh ugh
+$(depth)/$(configuration).make: $(depth)/configure
+ @echo "**************************************"
+ @echo "configure changed! You should probably reconfigure manually."
+ @echo "**************************************"
+ (cd $(depth); ./config.status)
--- /dev/null
+# title generic variables
+# file make/Variables.make
+#
+# do not change this file for site-wide extensions; please use
+# make/$(outdir)/Site.make;
+#
+# Any change in files in this directory (make/) would be distributed, if
+# you do make dist
+
+# directory names:
+
+# depth from group-dir
+# not eh, normally used
+DEPTH = $(depth)/$(package-depth)
+
+topdir := $(shell cd $(depth); pwd)
+pwd := $(shell pwd)
+
+
+# derived names
+ifeq ($(distdir),)
+ distdir = $(depth)/$(outdir)/$(DIST_NAME)
+ DIST_NAME = $(package)-$(TOPLEVEL_VERSION)
+endif
+distname = $(package)-$(TOPLEVEL_VERSION)
+
+
+
+
+# obsolete?
+makeout = $(depth)/make/$(outdir)
+docout = $(depth)/Documentation/$(outdir)
+binout = $(depth)/bin/$(outdir)
+
+doc-dir = $(depth)/Documentation
+po-dir = $(depth)/po
+
+# sort-out which of these are still needed
+#
+$(package)_bindir = $(depth)/bin
+step-bindir = $(depth)/$(stepmake)/bin
+abs-step-bindir = $(topdir)/$(stepmake)/bin
+#
+group-dir = $(shell cd $(DEPTH)/..; pwd)
+release-dir = $(group-dir)/releases
+patch-dir = $(group-dir)/patches
+#
+# i have in $HOME/.rpmrc
+# topdir: /home/fred/usr/src/Redhat
+#
+rpm-sources = $(release-dir)
+rpm-build = $(group-dir)/RedHat/BUILD
+#
+
+
+# need to be defined in local Makefiles:
+#
+FOOBAR =
+# the version:
+#
+ifneq ($(MY_PATCH_LEVEL),$(FOOBAR))
+VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL).$(MY_PATCH_LEVEL)
+else
+VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL)
+endif
+
+ifneq ($(TOPLEVEL_MY_PATCH_LEVEL),$(FOOBAR))
+TOPLEVEL_VERSION=$(TOPLEVEL_MAJOR_VERSION).$(TOPLEVEL_MINOR_VERSION).$(TOPLEVEL_PATCH_LEVEL).$(TOPLEVEL_MY_PATCH_LEVEL)
+else
+TOPLEVEL_VERSION=$(TOPLEVEL_MAJOR_VERSION).$(TOPLEVEL_MINOR_VERSION).$(TOPLEVEL_PATCH_LEVEL)
+endif
+
+
+
+# clean file lists:
+#
+ERROR_LOG = 2> /dev/null
+SILENT_LOG = 2>&1 > /dev/null
+date := $(shell date +%x) #duplicated?
+
+# compile and link options:
+#
+ARFLAGS = ru
+
+INCLUDES = include $(outdir) $($(PACKAGE)_INCLUDES)
+LDFLAGS = $(ILDFLAGS) $(USER_LDFLAGS) $(EXTRA_LDFLAGS) $(MODULE_LDFLAGS) $($(PACKAGE)_LDFLAGS)
+
+MODULE_LIBES=$(addsuffix /$(outdir)/library.a, $(MODULE_LIBS))
+LOADLIBES = $(MODULE_LIBES) $($(PACKAGE)_LIBES) $(EXTRA_LIBES)
+# urg: for windows ?
+# LOADLIBES = $(MODULE_LIBES) $($(PACKAGE)_LIBES) $(EXTRA_LIBES) -lstdc++
+#
+
+# macro compiler:
+#
+M4 = m4
+#
+
+#
+LD_COMMAND = $(LD) $(LDFLAGS) -o $@
+#
+
+# dependencies:
+#
+depfile = $(outdir)/$(subst .o,.dep,$(notdir $@))#
+DODEP=rm -f $(depfile); DEPENDENCIES_OUTPUT="$(depfile) $(outdir)/$(notdir $@)"
+#
+
+
+# generic target names:
+#
+ifdef NAME
+EXECUTABLE = $(outdir)/$(NAME)$(EXE)
+else
+EXECUTABLE =
+endif
+
+EXECUTABLES = $(notdir $(EXECUTABLE))
+
+
+#
+
+#replace to do stripping of certain objects
+STRIPDEBUG=true
+
+DIST_FILES=$(EXTRA_DIST_FILES) GNUmakefile $(ALL_SOURCES)
+DOCDIR=$(depth)/$(outdir)
+
+
+STRIP=strip --strip-debug
+ifdef stablecc
+ STABLEOBS=$(addprefix $(outdir)/,$(stablecc:.cc=.o))
+endif
+
+# substitute $(STRIP) in Site.make if you want stripping
+DO_STRIP=true
+LOOP=$(foreach i, $(SUBDIRS), $(MAKE) -C $(i) $@ &&) true
+
+
+include $(stepdir)/files.make
--- /dev/null
+# Include.make
+
+
+
+
+
--- /dev/null
+# Initial_outfiles.make
+
+localinstall: localinstall-files
+
+localinstall-files: $(INSTALLATION_OUT_FILES)
+ -$(INSTALL) -d $(INSTALLATION_OUT_DIR)
+ $(foreach i, $(INSTALLATION_OUT_FILES), \
+ $(INSTALL) -m 644 $(i) $(INSTALLATION_OUT_DIR) && )true
+
+localuninstall: localuninstall-files
+
+localuninstall-files:
+ $(foreach i, $(notdir $(INSTALLATION_OUT_FILES)), \
+ rm -f $(INSTALLATION_OUT_DIR)/$(i) && ) true
+ -rmdir $(INSTALLATION_OUT_DIR)
--- /dev/null
+# Initial_outfiles.sub.make
+
+include $(depth)/make/stepmake.make
+include $(stepdir)/install_outfiles.make
+
--- /dev/null
+# Installfiles.make
+
+localinstall: localinstall-files
+
+localinstall-files:
+ -$(INSTALL) -d $(INSTALLATION_DIR)
+ $(foreach i, $(INSTALLATION_FILES),\
+ $(INSTALL) -m 644 $(i) $(INSTALLATION_DIR) &&)true
+
+localuninstall: localuninstall-files
+
+localuninstall-files:
+ $(foreach i, $(INSTALLATION_FILES),\
+ rm -f $(INSTALLATION_DIR)/$(i) && ) true
+ -rmdir $(INSTALLATION_DIR)
--- /dev/null
+
+LIBINTL=$(outdir)/libintl.a
+check-lib-intl:
+ $(MAKE) -C $(depth)/intl lib
+
+include $(stepdir)/c.make
+
--- /dev/null
+# dependency list of library:
+#
+
+
+default: $(LIBRARY)
+
+$(outdir)/library.a: $(configheader) $(O_FILES) $(MODULE_LIBES)
+ $(AR_COMMAND) $(O_FILES)
+ $(RANLIB_COMMAND)
+
+$(SHAREDLIBRARY): $(configheader) $(O_FILES) $(MODULE_LIBES)
+ $(LD_COMMAND) $(O_FILES) -o $@.$(VERSION)
+ rm -f $@
+ ln -sf $(outdir)/$(LIB_PREFIX)$(NAME).so.$(VERSION) $@.$(MAJOR_VERSION)
+ ln -sf $(LIB_PREFIX)$(NAME).so.$(VERSION) $@
+
+
--- /dev/null
+
+#ugh ugh .
+ifndef LIB_SUFFIX
+LIB_SUFFIX = .a
+endif
+
+LIB_PREFIX = lib
+
+# librarian:
+#
+AR = ar
+AR_COMMAND = $(AR) $(ARFLAGS) $@
+
+# thanks to Nelson Beebe for this trick.
+RANLIB_COMMAND=$(RANLIB) $@ || $(AR) ts $@ || true
+
+# linker:
+LIBRARY = $(outdir)/library.a
+SHAREDLIBRARY=$(outdir)/$(LIB_PREFIX)$(NAME).so
--- /dev/null
+
+
+spec: $(OUTSPEC_FILES)
+
+$(OUTSPEC_FILES): $(depth)/VERSION
+$(OUTLSM_FILES): $(depth)/VERSION
--- /dev/null
+
+
+# stepmake/makedir.shared.make
+# urg: stuff shared between yodl/lily/stepmake
+
+MAKE_FILES := $(wildcard *.make)
+LSM_FILES:= $(wildcard *.lsm.in)
+OUTLSM_FILES=$(addprefix $(outdir)/,$(basename $(LSM_FILES)))
+SPEC_FILES:= $(wildcard *.spec.in)
+OUTSPEC_FILES=$(addprefix $(outdir)/,$(basename $(SPEC_FILES)))
+OUT_DIST_FILES= $(strip $(OUTLSM_FILES) $(OUTSPEC_FILES))
+
+EXTRA_DIST_FILES += $(MAKE_FILES)
+
+# these two outdir FILES are distributed, since they make sense to have
+# without running configure and make.
+
+AT_FILES = $(BLURBS) #
+at-dir = $(doc-dir)/
+at-ext = .in
+
+
--- /dev/null
+# Manual.make
+
+MANGROFF = $(addprefix $(outdir)/, $(addsuffix .$(SECTION)))
+
+localinstall: $(MANGROFFS)
+ -$(INSTALL) -d $(mandir)/man$(SECTION)
+ $(INSTALL) -m 644 $(MANGROFFS) $(mandir)/man$(SECTION)
+
+
+localuninstall:
+ (cd $(mandir)/man$(SECTION)/; rm -f $(MANGROFF))
+
+
+
+
--- /dev/null
+
+$(outdir)/%.dvi: %.mf
+ mf $<
+ gftodvi $(basename $<)
+ mv $(basename $<).dvi $(outdir)
+ rm $(basename $<).*gf
+
+$(outdir)/%.log: %.mf
+ mf $<
+ mv $(@F) $@
+ rm $(basename $< ).*gf
+
--- /dev/null
+
+MF_FILES = $(wildcard *.mf)
+FONT_FILES = $(wildcard *[0-9].mf)
+EXTRA_DIST_FILES += $(MF_FILES)
+
--- /dev/null
+# stepmake/Package.make
+
+package-icon=$(outdir)/$(package)-icon.gif
+
+deb:
+ $(MAKE) -C $(depth)/debian
+
+# urg
+#(cd $(depth)/../debian/$(distname); \
+# ln -sf debian DEBIAN; )
+# su -c 'dpkg-deb -b $(depth)/../debian/$(distname)'
+# urg, why aren't there any decent manual pages for dpkg or rpm?
+ su -c '(cd $(depth)/../debian; \
+ rm -rf $(distname) $(distname).deb;\
+ tar xz -C $(depth)/../debian -f $(release-dir)/$(distname).tar.gz; \
+ cd $(distname);\
+ dpkg-buildpackage -b; \
+ )'
+
+makeflags=$(patsubst %==, %, $(patsubst %----,%,$(MAKEFLAGS:%=--%)))
+
+diff:
+ $(PYTHON) $(step-bindir)/package-diff.py --package=$(topdir) $(makeflags)
+
+release:
+ $(PYTHON) $(step-bindir)/release.py --package=$(topdir)
+
+rpm: $(depth)/$(package-icon) dist
+ su -c 'rpm -tb $(depth)/$(outdir)/$(distname).tar.gz'
+
+update:
+ $(PYTHON) $(step-bindir)/update.py --package=$(topdir) $(makeflags)
+
+zip:
+ $(SHELL) $(step-bindir)/package-zip.sh $(topdir) $(prefix:/%=%)
+
--- /dev/null
+# Porules.make
+
+.SUFFIXES: .po .mo
+
+$(outdir)/%.mo: %.po
+ $(MSGFMT) -o $@ $<
+
+# sed-pofile = sed 's/^. \#: .*//'
+sed-pofile = sed 's/^\#: .*//'
+sed-makestuff = sed 's/[a-zA-Z_/]*make\[[0-9]*\].*//'
+sed-edstuff = sed 's/[ \.,adic0-9]*//' | sed 's/---//' | sort -u
+
+po-update:
+ $(foreach i,$(CATALOGS), \
+ rm -f $(po-dir)/$(outdir)/$(i).po; \
+ tupdate $(po-dir)/$(outdir)/$(package).po $(po-dir)/$(i).po \
+ > $(po-dir)/$(outdir)/$(i).po && ) true
+ $(foreach i,$(CATALOGS), \
+ changes=`$(MAKE) --silent -C $(po-dir) LANGUAGE=$$i show-po-changes $(ERROR_LOG) | $(sed-makestuff)`; \
+ if test "$$changes" != "" ; then \
+ echo "*** Changes for language $$i; check po/$(outdir)/$$i.po ***"; \
+ echo -e "changes: \`$$changes'";\
+ fi; && ) true
+
+
+show-po-changes:
+ diff -e $(po-dir)/$(outdir)/$(LANGUAGE).po $(po-dir)/$(LANGUAGE).po \
+ | $(sed-pofile) | $(sed-edstuff)
--- /dev/null
+
+
+
+####
+#### UGH!
+new-po:
+ if test -r $(po-dir); then \
+ rm -f $(po-dir)/$(outdir)/$(package).po; \
+ touch $(po-dir)/$(outdir)/$(package).po; \
+ fi
+
+ifeq ($(strip $(depth)),.)
+po: new-po
+ $(LOOP)
+localpo:
+ @true
+else
+po: localpo
+ $(LOOP)
+ALL_PO_SOURCES = $(ALL_C_SOURCES) $(wildcard $(outdir)/*.hh) $(wildcard $(outdir)/*.cc)
+localpo:
+ifneq ($(strip $(ALL_PO_SOURCES)),)
+ @echo $(ALL_PO_SOURCES)
+ xgettext --c++ --default-domain=$(package) --join \
+ --output-dir=$(po-dir)/$(outdir) --add-comments \
+ --keyword=_ --keyword=_f $(ALL_PO_SOURCES)
+endif
+endif
+
+
+po-update: po
+ $(MAKE) -C $(po-dir) po-update
+
+show-po-changes:
+ $(MAKE) -C $(po-dir) show-po-changes
+
--- /dev/null
+# Pod_rules.make
+
+.SUFFIXES: .1 .5 .html .pod .txt
+
+pod2html=pod2html
+pod2groff=pod2man --center="$(PACKAGE_NAME) documentation" --section="0"\
+ --release="$(PACKAGE_NAME) $(VERSION)" $< > $@
+
+
+# perl 5.003/4
+POD2HTML_5003=$(POD2HTML) $< ; mv $(notdir $@) $(outdir)/ || true
+# urg, broken. if you must have perl 5004, better install pod2html from 5003
+POD2HTML_5004=$(POD2HTML) --noindex --infile $< --outfile=$@; sh $(depth)/bin/add-URLs.sh $@
+
+do_pod2html=$($(POD2HTML_VERSION))
+
+$(outdir)/%.html: $(outdir)/%.pod $(depth)/VERSION
+ $(do_pod2html)
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index $(depth)/../index.html $@
+
+$(outdir)/%.pod: %.pod
+ cp $< $@
+
+$(outdir)/%.5: %.pod
+ $(pod2groff)
+
+$(outdir)/%.1: %.pod
+ $(pod2groff)
+
+$(outdir)/%.1: $(outdir)/%.pod
+ -$(pod2groff)
+
--- /dev/null
+# Scripts.make
+
+
+
+
+$(outdir)/%: %.pl
+ cat $< | $(sed-atvariables) > $@
+ chmod 755 $@
+
+#FIXME. Check for bash?
+$(outdir)/%: %.sh
+ cat $< | $(sed-atvariables) > $@
+ chmod 755 $@
+
+
+$(outdir)/%: %.py
+ cat $< | $(sed-atvariables) > $@
+ chmod 755 $@
+
--- /dev/null
+
+all: $(PERL_SCRIPTS) $(PYTHON_SCRIPTS) $(SH_SCRIPTS)
--- /dev/null
+
+
+PERL_SCRIPTS_IN := $(wildcard *.pl)
+PERL_SCRIPTS = $(addprefix $(outdir)/, $(PERL_SCRIPTS_IN:.pl=))
+SH_SCRIPTS_IN := $(wildcard *.sh)
+SH_SCRIPTS = $(addprefix $(outdir)/, $(SH_SCRIPTS_IN:.sh=))
+PYTHON_SCRIPTS_IN := $(wildcard *.py)
+PYTHON_SCRIPTS = $(addprefix $(outdir)/, $(PYTHON_SCRIPTS_IN:.py=))
+ALL_SCRIPTS_IN = $(SH_SCRIPTS_IN) $(PERL_SCRIPTS_IN) $(PYTHON_SCRIPTS_IN)
+EXTRA_DIST_FILES += $(ALL_SCRIPTS_IN)
--- /dev/null
+
+$(outdir)/%: %.in
+ rm -f $@
+ cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
+
--- /dev/null
+# Substitute.make
+
+sed-endline = sed 's!$$!\\!'
+sed-newline = sed 's!$$!\n!'
+sed-quotes = sed "s!\'!\\\&!g"
+sed-quote-line = sed 's!.*$$!\"&\"!'
+
+date := $(shell date '+%d%b%y'|tr '[a-z]' '[A-Z]' )
+DATE = $(date)
+
+# for all FILE in AT_FILES:
+# substitute occurrences of @FILE@ with contents $(at-dir)BLA$(at-ext)
+sed-atfiles = cat $(foreach i, $(AT_FILES), \
+ | sed '/@$i@/r $(at-dir)$i$(at-ext)' | sed 's%@$i@%%g')
+
+# for all VAR in ATVARIABLES
+# substitute occurrences of @VAR@ with $(VAR)
+sed-atvariables = cat $(foreach i, $(ATVARIABLES), | sed 's!@$i@!$($i)!g')
+
+# these are obsolete
+# use ATVARIABLES
+sed-date=sed 's!@DATE@!${date}!g'
+sed-PACKAGE = sed 's!@PACKAGE@!${PACKAGE}!g'
+sed-bash = sed 's!@BASH@!$(BASH)!'
+sed-dir-datadir = sed 's!@DIR_DATADIR@!$(DIR_DATADIR)!'
+sed-package=sed 's!@package@!${package}!g'
+sed-perl = sed 's!@PERL@!$(PERL)!'
+sed-python = sed 's!@PYTHON@!$(PYTHON)!'
+sed-sh = sed 's!@SH@!$(SH)!'
+sed-shell = sed 's!@SH@!$(SHELL)!' | sed 's!@BASH@!$(BASH)!'
+sed-version= sed 's!@TOPLEVEL_VERSION@!${TOPLEVEL_VERSION}!g'
+sed-step-bindir = sed 's!@STEP_BINDIR@!$(pwd)/$(step-bindir)!'
+
--- /dev/null
+# THIS IS A TEMPLATE FOR SUB-PROJECT MAKEFILES
+# /Makefile
+
+# subdir level:
+#
+depth = ..
+#
+
+# identify module:
+#
+NAME =
+#
+
+# descent order into subdirectories:
+#
+SUBDIRS =
+#
+
+# dependencies and linkage of custom libraries:
+#
+
+MODULE_LIBES = # $(depth)/lib $(depth)/flower
+#
+
+# list of extra distribution files:
+# Makefile, C++ and pod are dist'ed automatically
+EXTRA_DIST_FILES =
+#
+
+# bootstrap stepmake:
+#
+include $(depth)/make/stepmake.make
+#
+
+# module compile settings: (not generally needed!)
+#
+EXTRA_CFLAGS =
+EXTRA_CXXFLAGS =
+EXTRA_LDFLAGS =
+#
+
+# main target of this module:
+#
+default: $(EXECUTABLE)
+# default: $(LIBRARY)
+#
+
+# EXECUTABLES=
+# include $(stepmake)/Executable.make
+
--- /dev/null
+# Texinfo_rules.make
+
+.SUFFIXES: .1 .html .texinfo
+
+texi2man = $(step-bindir)/out/texi2man $< $@
+texi2html =\
+ rm -f $@.urg;\
+ cat $< | sed "s!@include.*!!" > $@.urg;\
+ $(TEXI2HTML) $@.urg;\
+ rm -f $@.urg;\
+ mv $(@F).urg.html $@;\
+ rm -f $(@F:%.html=%.html.urg_toc.html);\
+ add-URLs $@
+
+$(outdir)/%.1: %.texinfo
+ $(texi2man)
+
+# $(outdir)/%.info: %.texinfo
+# $(MAKEINFO) -o $@ $<
+
+$(outdir)/%.info: $(outdir)/%.texinfo
+ $(MAKEINFO) -o $@ $<
+
+# $(outdir)/%.html: %.texinfo
+# $(texi2html)
+# add-html-footer --index $(depth)/../index.html $@
+
+# texi2html is as broken as pod2html 5004 :-)
+# we'll have to use pod2html 5003 for now.
+# don't burn your .pod sources!
+#
+$(outdir)/%.html: $(outdir)/%.texinfo
+ $(texi2html)
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index $(depth)/../index.html $@
+
+$(outdir)/%.texinfo: %.texinfo
+ cp $< $@
+
+$(outdir)/%.1: $(outdir)/%.texinfo
+ -$(texi2man)
+
--- /dev/null
+# -*-Makefile-*-
+# title Toplevel_rules.make
+
+# empty
+
--- /dev/null
+# -*-Makefile-*-
+# title Toplevel_targets.make
+
+local-dist: configure
+
+local-distclean:
+ rm -f config.hh config.make Makefile config.cache \
+ config.status config.log index.html
+
+local-maintainerclean:
+ rm -f configure
+
+GNUmakefile: make/toplevel.make.in
+ chmod +w $@
+ echo "# WARNING WARNING WARNING WARNING" > $@
+ echo "# do not edit! this is generated from make/Toplevel.make.in" >> $@
+ cat $< >> $@
+ chmod -w $@
+
+aclocal.m4: $(stepdir)/../aclocal.m4
+ cp $< $@
+
+local-WWW: #index.html
+
+index.html: check-top-web NEWS
+ $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
+
+WWW-clean:
+ $(MAKE) CONFIGSUFFIX='www' clean
+
+dist:
+ rm -rf $(distdir)
+ $(MAKE) local-dist $(distdir)
+ chmod -R a+r $(distdir)
+ chmod a+x `find $(distdir) -type d -print`
+ (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
+# ugh.
+# Can't compare "stage1" dist with "stage2" dist in this way?
+ -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
+ rm -rf ./$(distdir)/
+
+local-help:
+ @echo -e "\
+ dist roll tarball: $(outdir)/$(package)-$(TOPLEVEL_VERSION).tar.gz\n"
+
+
--- /dev/null
+# -*-Makefile-*-
+# title Toplevel_vars.make
+
+# override Generic_vars.make:
+# do not dist ./Makefile (is copied from make/Toplevel.make)
+#
+DIST_FILES := $(EXTRA_DIST_FILES)
+#
+
--- /dev/null
+# Yodl_rules.make
+
+.SUFFIXES: .1 .5 .7 .dvi .html .latex .ps .texinfo .txt .yo
+
+$(outdir)/%.1: %.yo
+ $(YODL2MAN) -doutdir=$(outdir) --live-data=3 -o $@ $<
+
+$(outdir)/%.5: %.yo
+ $(YODL2MAN) -doutdir=$(outdir) --live-data=3 -o $@ $<
+
+$(outdir)/%.7: %.yo
+ $(YODL2MAN) -doutdir=$(outdir) --live-data=3 -o $@ $<
+
+$(outdir)/%.html: %.yo
+ $(YODL2HTML) -doutdir=$(outdir) --live-data=3 -o $@ $<
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/../index.html $@ $(wildcard $(basename $@)[0-9][0-9].html)
+
+$(outdir)/%.latex: %.yo
+ $(YODL2LATEX) -doutdir=$(outdir) --live-data=3 -o $@ $<
+
+$(outdir)/%.texinfo: %.yo
+ $(YODL2TEXINFO) -doutdir=$(outdir) --live-data=3 -o $@ $<
+
+$(outdir)/%.txt: %.yo
+ $(YODL2TXT) -doutdir=$(outdir) --live-data=3 -o $@ $<
+
--- /dev/null
+# Yolily_Debian_rules.make
+
+#empty
--- /dev/null
+# Yolily_Debian_targets.make
+
+default: $(OUTCONF_FILES)
+
+
+$(outdir)/%: %
+ rm -f $@
+ ln $< $@
+
+$(outdir)/control: $(addprefix $(outdir)/, $(BLURBS))
+
+$(outdir)/%: $(doc-dir)/%.in
+ rm -f $@
+ cat $< | sed 's%^% %' > $@
+
+localdist: default
--- /dev/null
+# Yolily_Debian_vars.make
+
+#empty
+
--- /dev/null
+# Yolily_topdoc_rules.make
+
+# empty
+
--- /dev/null
+# Yolily_topdoc_targets.make
+
+default: do-doc
+
+# urg
+$(outdir)/%.html: %.yo
+ $(YODL2HTML) -doutdir=$(outdir) --live-data=3 -o $@.in $<
+ $(sed-version) < $@.in > $@
+ rm -f $@.in
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=index.html --news=$(depth)/NEWS $@
+
+local-WWW:
+ -cp $(outdir)/*gif $(outdir)/index.html $(depth) # don't fail if not making website
+
+
+copy-to-top:
+ $(foreach i, $(TO_TOP_FILES), \
+ cp $(i) $(depth)/ && ) true
--- /dev/null
+# Yolily_topdoc_vars.make
+
+# INFO_FILES = $(outdir)/$(package).info
+
+TO_TOP_FILES=$(addprefix $(outdir)/, $(README_TOP_FILES))
+
--- /dev/null
+# -*-Makefile-*-
+# title Yolily_Toplevel_rules.make
+
+# empty
--- /dev/null
+# -*-Makefile-*-
+# title Yolily_Toplevel_targets.make
+
+local-dist: do-top-doc
+
+$(package-icon):
+ $(MAKE) -C Documentation/pictures icon
+
+do-top-doc:
+ -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(README_TXT_FILES)" copy-to-top
+
+$(README_TXT_FILES): do-top-doc
+
+
+htmldoc:
+ $(MAKE) CONFIGSUFFIX='www' local-WWW
+ $(MAKE) CONFIGSUFFIX='www' -C Documentation WWW
+ rm -f `find . -name \*.html~ -print`
+ find `find Documentation -type d -name 'out-www'` -not -name '*dvi' -not -name '*ly' -not -name '*tex' -not -name '*.ps' -not -name 'out-www' > wwwlist
+ -ln -f $(depth)/$(distname).diff.gz out-www
+ tar cfz $(outdir)/htmldoc.tar.gz `cat wwwlist` `ls *.gif out-www/$(distname).diff.gz $(ERRORLOG)` index.html
+
+
+# if you fix this, please fix yodl too!
+check-top-web:
+ $(MAKE) -C Documentation/topdocs WWW
+
--- /dev/null
+# -*-Makefile-*-
+# title Yolily_Toplevel_vars.make
+
+#empty
+
--- /dev/null
+# title makefile for test
+# test/Makefile
+
+depth = ..
+
+NAME = lily-test
+MODULE_NAME = lily-test
+
+MODULE_CXXFLAGS = -I$(depth)/flower/include -I$(depth)/flower -I$(depth)/lily/include -I$(depth)/lily
+STEPMAKE_TEMPLATES=c++
+
+include $(depth)/make/stepmake.make
+
+# default: $(EXECUTABLE)
+
+# include $(stepdir)/Executable.make
+
+++ /dev/null
-# title makefile for test
-# test/Makefile
-
-depth = ..
-
-NAME = lily-test
-MODULE_NAME = lily-test
-
-MODULE_CXXFLAGS = -I$(depth)/flower/include -I$(depth)/flower -I$(depth)/lily/include -I$(depth)/lily
-MAKEFILES=C++
-
-include $(depth)/make/Stepmake.make
-
-# default: $(EXECUTABLE)
-
-# include $(stepdir)/Executable.make
-
--- /dev/null
+# tex/Makefile
+
+depth = ..
+
+
+TEX_FILES = $(wildcard *.tex)
+EXTRA_DIST_FILES = $(TEX_FILES)
+
+INSTALLATION_DIR=$(TEXDIR)/lilypond
+INSTALLATION_FILES=$(TEX_FILES)
+
+include $(depth)/make/stepmake.make
+include $(stepdir)/installfiles.make
+
+++ /dev/null
-# tex/Makefile
-
-depth = ..
-
-
-TEX_FILES = $(wildcard *.tex)
-EXTRA_DIST_FILES = $(TEX_FILES)
-
-INSTALLATION_DIR=$(TEXDIR)/lilypond
-INSTALLATION_FILES=$(TEX_FILES)
-
-include $(depth)/make/Stepmake.make
-include $(stepdir)/Installfiles.make
-