+++ /dev/null
-TOPLEVEL_MAJOR_VERSION = 0
-TOPLEVEL_MINOR_VERSION = 0
-TOPLEVEL_PATCH_LEVEL = 77
-# use to send patches, always empty for released version:
-# include separator: ".postfix", "-pl" makes rpm barf
-
-TOPLEVEL_MY_PATCH_LEVEL = .jcn1
the C<type> is a Hungarian notation postfix for C<Type>. See below
+=head2 MACROS
+
+
=head2 BROKEN CODE
# list of distribution files:
#
EXTRA_DISTFILES = lelie_icon.gif lelie_logo.gif $(DOCFILES)
+
default: do-doc
# don't do DVI files. They can only be made if lily is installed
html: $(HTMLFILES)
htmldist: html
- ./$(lily_bindir)/make_website
+ $(lily_bindir)/make_website
+dvi: $(DVIFILES)
# generic targets and rules:
#
-include ./$(depth)/make/Targets.make
-include ./$(depth)/make/Rules.make
+include $(depth)/make/Targets.make
+include $(depth)/make/Rules.make
#
localclean:
MAN1FILES = lilypond convert-mudela mi2mu mudela-book
MAN1GROFF = $(addprefix $(outdir)/, $(addsuffix .1,$(MAN1FILES)))
-localinstall: $(outdir)/lilypond.1 $(outdir)/mudela.5
- $(INSTALL) -d $(mandir)/man5
+localinstall: $(outdir)/lilypond.1
$(INSTALL) -d $(mandir)/man1
- $(INSTALL) -m 755 $(MAN1GROFF) $(mandir)/man1
+ $(INSTALL) -m 644 $(MAN1GROFF) $(mandir)/man1
localuninstall:
mv $(notdir $@) $(outdir)
$(outdir)/%.mudtex: %.doc
- $(depth)/bin/mudela-book --outdir=$(outdir)/ --outname=$(notdir $@) $<
-
+ $(binout)/mudela-book --outdir=$(outdir)/ --outname=$(notdir $@) $<
$(outdir)/%.text: $(outdir)/%.1
groff -man -Tascii $< > $@
% -*-latex-*-
+
+% this document should be run through the mudela-book script after lilypond
+% has been installed.
+
\documentclass{article}
\usepackage{a4wide}
\title{GNU LilyPond input format 0.1}
duration is one and a half quaver (\verb+4.+) times 2/3.
Notenames are just a special kind of identifiers, and can be declared
-for any language appropriate (see \file{dutch.ini}). The default language
+for any language appropriate (see \file{init/dutch.ly}). The default language
for notenames is defined to be dutch. In dutch, the notenames are
a,b,c,d,e,f and g. Sharps are formed by adding the extension "is",
flats by adding ``es''
Ties connect the noteheads of adjacent notes. They are entered as follows:
-\begin[fragment]{mudela}
-a4 ~ a4
+\begin[verbatim,fragment]{mudela}
+a'4 ~ a''4
\end{mudela}
Slurs connect whole chords, and try to avoid crossing stems. They are
entered as follows:
-\begin{verbatim}
-\begin[fragment]{mudela}
-a4( )a4
+\begin[verbatim,fragment]{mudela}
+a'4( )a''4
\end{mudela}
\subsection{Scripts}
Symbols which can be put at either side (above or below) of a staff
are entered as follows:
-\begin[fragment]{mudela}
+\begin[verbatim,fragment]{mudela}
a-^ % marcato, direction: default
a^- % portato, direction: above note
a_. % staccato, direction: below note
c-"marcato"
\end{mudela}
-If you want to define your own scripts refer to \file{script.ini} for
+If you want to define your own scripts refer to \file{init/script.ly} for
details.
- beams and stems
- scripts
-For the actual list, see the init file \file{register.ini}
+For the actual list, see the init file \file{init/register.ly}
Putting different musical lines in to the same voicegroup effectively
makes LilyPond try to form chords of all those lines. Putting
+/*
+ template5.cc -- instantiate Intervals
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
#include <limits.h>
#include "proto.hh"
#include "string.hh"
Rational
Interval_t<Rational>::infinity()
{
- return INFTY;
+/*
+ windhoze-suck-suck-suck-suck-suck-thank-you-cygnus
+
+ I get tired of all these incompatibilities. We'll just assume:
+
+ that 2^31 is *Big*
+
+ */
+
+ return Rational(INT_MAX);
}
int
# toplevel version info, might be handy?
#
-include ./$(depth)/.version
+include $(depth)/VERSION
#
-include ./$(depth)/make/out/Configure_variables.make
-
ifeq (0,${MAKELEVEL})
MAKE:=$(MAKE) --no-builtin-rules
endif
# directory names:
-#
-outdir = out
-lily_bindir = ./$(depth)/bin
-distdir = ./$(depth)/$(DIST_NAME)
-module-distdir = ./$(depth)/$(MODULE_DIST_NAME)
+
+
+ifdef buildprefix
+top-directory := $(shell cd $(depth); pwd)
+abs-sub-directory := $(shell pwd)
+relative-sub-directory := $(subst $(top-directory),,$(abs-sub-directory))
+outdir=$(buildprefix)/$(relative-sub-directory)/out/
+else
+buildprefix=$(depth)
+outdir=out
+endif
+
+# derived names
+lily_bindir = $(depth)/bin
+distdir = $(depth)/$(DIST_NAME)
+module-distdir = $(depth)/$(MODULE_DIST_NAME)
depdir = $(outdir)
-flowerout = ./$(depth)/flower/$(outdir)
-libout = ./$(depth)/lib/$(outdir)
-lilyout = ./$(depth)/lily/$(outdir)
-mi2muout = ./$(depth)/mi2mu/$(outdir)
-makeout = ./$(depth)/make/$(outdir)
-doc-dir = ./$(depth)/Documentation
-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
-#
+
+flowerout = $(buildprefix)/flower/out
+libout = $(buildprefix)/lib/out
+lilyout = $(buildprefix)/lily/out
+mi2muout = $(buildprefix)/mi2mu/out
+makeout = $(buildprefix)/make/out
+docout = $(buildprefix)/Documentation/out
+binout = $(buildprefix)/bin/out
+
+doc-dir = $(depth)/Documentation
+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
+
+
rpm-sources = ${HOME}/rpms/SOURCES
#
+include $(makeout)/Configure_variables.make
+
# user settings:
#
-include ./$(depth)/make/User.make
+include $(depth)/make/User.make
#
#
# need to be defined in local Makefiles:
ERROR_LOG = 2> /dev/null
SILENT_LOG = 2>&1 > /dev/null
date = $(shell date +%x)
-allhh := $(shell $(FIND) ./ -name "*.hh" $(ERROR_LOG))
-allcc := $(shell $(FIND) ./ -name "*.cc" $(ERROR_LOG))
-allobs := $(shell $(FIND) ./ $(outdir) -name "*.o" $(ERROR_LOG))
-
-alldeps := $(shell $(FIND) ./ $(outdir) -name "*.dep" $(ERROR_LOG))
# version stuff:
#
# dependencies:
#
-depfile = ./$(depdir)/$(subst .o,.dep,$(notdir $@))
+depfile = $(depdir)/$(subst .o,.dep,$(notdir $@))
DODEP=rm -f $(depfile); DEPENDENCIES_OUTPUT="$(depfile) $(outdir)/$(notdir $@)"
#
DOCDIR=$(depth)/$(outdir)
# .hh should be first. Don't know why
-# take some trouble to vauto ignore sources and obsolete stuff.
-progdocs=$(shell $(FIND) ./ -name '*.hh' |egrep -v 'obsolete/|out/') $(shell $(FIND) ./ -name '*.cc'|egrep -v 'out/|obsolete/')
+# take some trouble to auto ignore sources and obsolete stuff.
+progdocs=$(shell $(FIND) ./ -name '*.hh' |egrep -v 'out/') $(shell $(FIND) ./ -name '*.cc'|egrep -v 'out/')
pod2html=pod2html
STABLEOBS=$(addprefix $(outdir)/,$(stablecc:.cc=.o))
endif
-# substitute $(STRIP) if you want stripping
+# substitute $(STRIP) in Site.make if you want stripping
DO_STRIP=true