From c017199a8f10949dbf403792367a798f7b65214c Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 20:06:55 +0000 Subject: [PATCH] lilypond-0.1.49 --- make/Makefile.am.wild | 34 ++++++++++++++++++++++++++++++++++ make/Toplevel.make.in | 6 +++--- mf/Rules.make | 31 +++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 3 deletions(-) create mode 100644 make/Makefile.am.wild create mode 100644 mf/Rules.make diff --git a/make/Makefile.am.wild b/make/Makefile.am.wild new file mode 100644 index 0000000000..fe82501a60 --- /dev/null +++ b/make/Makefile.am.wild @@ -0,0 +1,34 @@ +# project LilyPond -- the musical typesetter +# title zucht +# file make/Makefile.am.dist +# +# Copyright (c) 1997 by +# Jan Nieuwenhuizen +# Han-Wen Nienhuys +# ...your sort order here, or how to comment-out a comment + +IN_FILES = $(wildcard *.in) +MAKE_FILES = $(wildcard *.make) +EXTRA_DIST = Makefile.am.wild $(IN_FILES) $(MAKE_FILES) lilypond.spec lilypond.lsm lelievijver.lsm + +spec: $(outdir)/lilypond.spec + +rpmdocs = $(addprefix Documentation/, $(notdir $(shell ls ../Documentation/$(outdir)/*.txt)))\ + BUGS TODO NEWS DEDICATION ANNOUNCE README +rpmmudocs = $(addprefix Documentation/, $(notdir $(shell ls ../Documentation/*.doc))) +rpmdvis = $(rpmmudocs:.doc=.dvi) +rpmexamples = $(addprefix input/, $(notdir $(shell ls ../input/*.{ly,tex}))) + +date = $(shell date '+%d%b%y'|tr a-z A-Z) + +SED_VERSION= sed 's!@TOPLEVEL_VERSION@!${TOPLEVEL_VERSION}!g' +SED_DATE=sed 's!@DATE@!${date}!g' +SED_EXAMPLES = sed 's!@EXAMPLE_LYS@!${rpmexamples} ${rpmmudocs}!g' +SED_DOCS=sed 's!@TEXT_DOCS@!${rpmdocs}!g' + +lilypond.spec: lilypond.spec.in ../VERSION + cat $< | $(SED_VERSION) | $(SED_DOCS) | $(SED_EXAMPLES) > $@ + +%.lsm: %.lsm.in ../VERSION + cat $< | $(SED_VERSION) | $(SED_DATE) > $@ + diff --git a/make/Toplevel.make.in b/make/Toplevel.make.in index c90d0805a4..ac3e42ec28 100644 --- a/make/Toplevel.make.in +++ b/make/Toplevel.make.in @@ -34,8 +34,9 @@ SUBDIRS = bin flower lib lily mf mi2mu debian\ # list of distribution files: # SCRIPTS = configure configure.in install-sh aclocal.m4 -README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCE COPYING ONEWS NEWS README TODO \ - INSTALL.txt AUTHORS.txt +README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCE \ + COPYING ONEWS NEWS README TODO \ + INSTALL.txt AUTHORS.txt PATCHES.txt EXTRA_DISTFILES = .dstreamrc mudela-mode.el VERSION $(README_FILES) $(SCRIPTS) $(SYMLINKS) # do not dist ./Makefile (is copied from make/Toplevel.make) @@ -55,7 +56,6 @@ INSTALL.txt: check-doc-deps check-mf-deps rm -f INSTALL.txt ln `$(FIND) ./ -name INSTALL.txt -print |head -1` . - # all machine generated junk resides in out/ distclean: set -e; for i in `find . -type d -name 'out' -print`; do \ diff --git a/mf/Rules.make b/mf/Rules.make new file mode 100644 index 0000000000..9c6f8679a1 --- /dev/null +++ b/mf/Rules.make @@ -0,0 +1,31 @@ + +$(outdir)/%.dvi: %.mf + mf $< + gftodvi $(basename $<) +# mv $(basename $<).dvi $(outdir) + rm $(basename $<).*gf + +$(outdir)/%.log: %.mf + mf $< +# mv $(@F) $@ + rm $(basename $< ).*gf + +$(lyout)/%.ly $(texout)/%.tex: $(outdir)/%.log + $(PYTHON) $(depth)/bin/mf-to-table --ly $(lyout)/$( $@ + $(PYTHON) $(depth)/bin/mf-deps $^ >> $@ + +# silly workaround for stupid TeXs +systempks: +# irix 5.3 +# MakeTeXPK feta16 300 300 magstep\(0.0\) + set -e ; for a in $(FONT_FILES); do \ + MakeTeXPK `basename $$a .mf` 300 300 magstep\(0.0\) ; \ + mf "\mode=ljfour; input `basename $$a .mf`" ;\ +# mv -f `find . -name '*.tfm' -print -o -name '*gf' -print` out/ ; \ + mv -f `find . -name '*.tfm' -print -o -name '*gf' -print` ; \ + done + -- 2.39.5