PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL)
# use to send patches, always empty for released version:
MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL)
-build = ./$(depth)/lily/.build
+build = ./$(depth)/lily/$(outdir)/.build
#
# generic variables:
PODFILES = $(shell ls *.pod)
OUTPODFILES = $(patsubst %,$(outdir)/%,$(PODFILES))
TEXTFILES = $(OUTPODFILES:.pod=.text)
-MANFILES = $(OUTPODFILES:.pod=.1)
+GROFFFILES = $(OUTPODFILES:.pod=.1)
HTMLFILES = $(OUTPODFILES:.pod=.html)
#
# list of distribution files:
#
-DISTFILES = $(PODFILES) Makefile lelie_logo.png
+DISTFILES = $(PODFILES) Makefile lelie_logo.gif
#
default: do-doc
pod2html
htmldist: html
- ./$(bindir)/make_website
+ ./$(lily_bindir)/make_website
+
# generic targets and rules:
#
include ./$(depth)/make/Rules.make
#
+localclean:
+ rm -f $(TEXTFILES) $(HTMLFILES) $(GROFFFILES)
+
+localinstall: $(outdir)/lilypond.1
+ $(INSTALL) -d $(mandir)/man1
+ $(INSTALL) -m 755 $< $(mandir)/man1
+
+localuninstall:
+ rm -f $(mandir)/man1/lilypond.1
--- /dev/null
+Name: lilypond
+Version: @TOPLEVEL_VERSION@
+Release: 1
+Copyright: GPL
+Group: Applications/Publishing
+Source0: pcnov095.win.tue.nl:/pub/lilypond/lilypond-@TOPLEVEL_VERSION@.tar.gz
+Summary: A preprocessor to make TeX typeset music.
+URL: http://www.stack.nl/~hanwen/lilypond
+Packager: Han-Wen Nienhuys <hanwen@stack.nl>
+Icon: lelie_logo.gif
+
+%description
+LilyPond is a program which converts a music-script (mudela) into
+TeX output, or MIDI to produce multi-staff scores. Feature include multiple
+meters, clefs, keys, lyrics, versatile input-language, cadenzas
+beams, slurs, triplets
+
+%prep
+%setup
+%build
+configure --enable-checking --enable-optimise --enable-printing --prefix=/usr
+make all
+%install
+make install
+
+%files
+%doc Documentation/out/index.text Documentation/out/CodingStyle.text
+%doc Documentation/out/lilygut.text Documentation/out/lilyinput.text
+%doc Documentation/out/error.text Documentation/out/faq.text
+%doc Documentation/out/INSTALL.text
+%doc Documentation/out/language.text Documentation/out/lelie_logo.png
+/usr/bin/lilypond
+/usr/bin/mi2mu
+/usr/man/man1/lilypond.1
+/usr/lib/texmf/texmf/tex/lilypond/*
+/usr/share/lilypond/*
+
+%post
+texhash
+%post
+texhash
+