From ac85aa19c834141b1578ee05467c6907745b5783 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Wed, 27 Aug 2003 22:20:08 +0000 Subject: [PATCH] * Documentation/topdocs/INSTALL.texi: Explain install-pfa-fonts. * GNUmakefile.in (install-pfa-fonts): (get-pfa-fonts): New target. * stepmake/stepmake/toplevel-targets.make: Add pfa-fonts and install-pfa-fonts help. --- ChangeLog | 10 ++++++++++ Documentation/topdocs/INSTALL.texi | 9 +++++---- GNUmakefile.in | 22 ++++++++++++++++++++++ stepmake/stepmake/toplevel-targets.make | 3 +++ 4 files changed, 40 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 02922cea43..1c7602d138 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2003-08-28 Jan Nieuwenhuizen + + * Documentation/topdocs/INSTALL.texi: Explain install-pfa-fonts. + + * GNUmakefile.in (install-pfa-fonts): + (get-pfa-fonts): New target. + + * stepmake/stepmake/toplevel-targets.make: Add pfa-fonts and + install-pfa-fonts help. + 2003-08-27 Han-Wen Nienhuys * python/lilylib.py (read_pipe): only store and display error log diff --git a/Documentation/topdocs/INSTALL.texi b/Documentation/topdocs/INSTALL.texi index 9a0c565c0e..11eddc48ad 100644 --- a/Documentation/topdocs/INSTALL.texi +++ b/Documentation/topdocs/INSTALL.texi @@ -190,7 +190,7 @@ If, in addition, you want to generate PDF files of your scores and have installed mftrace, type @example make pfa-fonts -make MAKE_PFA_FILES=1 install +make install-pfa-fonts texhash @end example @@ -200,9 +200,10 @@ your version, eg. @example wget http://ftp.us.debian.org/debian/pool/main/l/lilypond/lilypond_1.8.0-1_i386.deb -ar x lilypond_1.8.0.-1_i386.deb -tar -C / -zxf data.tar.gz /usr/share/lilypond/1.8.0/fonts/type1/ -tar -C / -zxf data.tar.gz /usr/share/lilypond/1.8.0/dvips/ +@c ar p lilypond_1.8.0-1_i386.deb data.tar.gz | tar -C / -zxf - '.*.pfa' '.*.map' +ar x lilypond_1.8.0-1_i386.deb data.tar.gz +tar -C / -zxf data.tar.gz /usr/share/lilypond/1.8.0/fonts/type1/ +tar -C / -zxf data.tar.gz /usr/share/lilypond/1.8.0/dvips/ texhash @end example If you are installing LilyPond somewhere else, unpack the appropriate diff --git a/GNUmakefile.in b/GNUmakefile.in index 6667cc4b2e..2c5aa22eb9 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -37,6 +37,28 @@ pfa-fonts: $(MAKE) MAKE_PFA_FILES=1 -C mf # don't make fontball - we have binary packages for that. +install-pfa-fonts: + $(MAKE) MAKE_PFA_FILES=1 -C mf install + +fontball=type1-$(TOPLEVEL_VERSION).tar.gz +deb=lilypond_$(TOPLEVEL_VERSION)-1_i386.deb +debian-mirror=http://ftp.$(LANG).debian.org + +$(outdir)/$(deb): + wget -P $(outdir) $(debian-mirror)/debian/pool/main/l/lilypond/$(deb) + +#lld=.$(local_lilypond_datadir) +lld=./usr/share/lilypond/$(TOPLEVEL_VERSION) +$(outdir)/$(fontball): $(outdir)/$(deb) + rm -rf $(outdir)/./usr + ar p $< data.tar.gz | \ + tar -C $(outdir) -zxf - $(lld)/dvips $(lld)/fonts/type1 + # strip the $(lld) part? + tar -C $(outdir) -czf $@ ./usr + +get-pfa-fonts: $(outdir)/$(fontball) + # install by hand from $< + web-install: -$(INSTALL) -m 755 -d $(webdir) tar -C $(webdir)/ -xzf $(outdir)/web.tar.gz diff --git a/stepmake/stepmake/toplevel-targets.make b/stepmake/stepmake/toplevel-targets.make index 3ebbeb2c50..9670c1b8b0 100644 --- a/stepmake/stepmake/toplevel-targets.make +++ b/stepmake/stepmake/toplevel-targets.make @@ -73,6 +73,9 @@ local-help: release roll tarball and generate patch\n\ rpm build rpm (Red Hat) package\n\ rpm-mdk build rpm (Mandrake) packages\n\ + pfa-fonts build type1 fonts in mf/$(outdir)\n\ + install-pfa-fonts install type1 fonts in $(local_lilypond_datadir)/fonts/\n\ + po make new translation Portable Object database\n\ po make new translation Portable Object database\n\ po-replace do po-update and replace catalogs with msgmerged versions\n\ po-update update translation Portable Object database\n\ -- 2.39.5