target.
* mf/GNUmakefile: add get-pfa, get-debian-pfa, get-rpm-pfa
targets.
* GNUmakefile.in ($(config_h)): config.h should depend on
config.hh.in .
(lilypond.words): remove fontball stuff.
* GNUmakefile.in (rsync-web): permissions and ownership for
website.
2003-09-23 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * Documentation/topdocs/INSTALL.texi (Top): add note about get-pfa
+ target.
+
+ * mf/GNUmakefile: add get-pfa, get-debian-pfa, get-rpm-pfa
+ targets.
+
* GNUmakefile.in ($(config_h)): config.h should depend on
config.hh.in .
+ (lilypond.words): remove fontball stuff.
* stepmake/aclocal.m4: only print config.cache warning if it exists.
(1.0.6 is known to work). You may need to install a tetex-devel (or
tetex-dev or libkpathsea-dev) package too.
-@item @uref{ftp://ftp.gnu.org/gnu/texinfo/,Texinfo} (version 4.2 or newer).
+@item @uref{ftp://ftp.gnu.org/gnu/texinfo/,Texinfo} (version 4.6 or newer).
@item The
@uref{ftp://ftp.ctan.org/tex-archive/macros/latex/contrib/supported/geometry,geometry
Building the website requires some additional tools:
@itemize @bullet
-@item The @uref{http://netpbm.sourceforge.net/,netpbm utilities} see
+@item The @uref{http://netpbm.sourceforge.net/,netpbm utilities}
@item ImageMagick
@end itemize
sh buildscripts/clean-fonts.sh
@end example
-If, in addition, you want to generate PDF files of your scores and have
-installed mftrace, type
-@example
-make pfa-fonts
-make install-pfa-fonts
-texhash
-@end example
-
-PFA versions of the fonts for the latest LilyPond version can also be
-obtained from the internet: download the .deb file that corresponds to
-your version, eg.
+The most time-consuming part of compiling LilyPond is tracing the
+Type1 fonts. You can shortcut this operation by issuing
+one of the following commands:
@example
-wget http://ftp.us.debian.org/debian/pool/main/l/lilypond/lilypond_1.8.0-1_i386.deb
-@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
+ make -C mf get-pfa # requires rpm2cpio
+ make -C mf get-debian-pfa # may not be up to date
@end example
-If you are installing LilyPond somewhere else, unpack the appropriate
-files as shown, and move them to the appropriate paths. Of course, the
-.deb version number should correspond to what you are installing.
If you are doing an upgrade, you should remove all @file{feta}
@code{.pk} and @code{.tfm} files. A script has been provided to do the
the output in @file{out-CONF}. Example: Suppose I want to build with
and without profiling. Then I'd use the following for the normal
build:
-@c prefix=~ ?
+
@example
./configure --prefix=$HOME/usr/ --enable-checking
make
doc:
$(MAKE) -C Documentation
-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 $<
-
lilypond.words:
cd $(builddir) && $(PYTHON) $(buildscript-dir)/lilypond.words.py $(outdir)
chgrp -R lilypond . && \
chmod -R 664 . && \
chmod 2775 `find -type d` . && \
- rsync --group --delete --stats --progress -gorltvu -e ssh . x:/var/www/lilypond/doc/v1.9/
+ rsync --delete --stats --progress -gorltvu -e ssh . x:/var/www/lilypond/doc/v1.9/
cd out-www && rm -rf web/
default: $(ALL_GEN_FILES)
+
+debian-mirror=http://ftp.us.debian.org
+debian-package =lilypond_$(TOPLEVEL_VERSION)-1_i386.deb
+$(outdir)/$(debian-package):
+ wget -P $(outdir) $(debian-mirror)/debian/pool/main/l/lilypond/$(debian-package)
+
+get-debian-pfa: $(outdir)/$(debian-package)
+ rm -rf $(outdir)/./usr
+ ar p $< data.tar.gz | \
+ tar -C $(outdir) -zvxf - '*.pfa'
+ cp `find $(outdir)/usr/ -name '*.pfa'` $(outdir)/
+
+
+redhat-package=lilypond-$(TOPLEVEL_VERSION)-1.i386.rpm
+$(outdir)/$(redhat-package):
+ wget -P $(outdir) ftp://ftp.lilypond.org/pub/LilyPond/binaries/RedHat-9/$(redhat-package)
+
+get-rpm-pfa: $(outdir)/$(redhat-package)
+ cd $(outdir) ; rpm2cpio $(redhat-package) | cpio -id '*.pfa'
+ cp `find $(outdir)/usr/ -name '*.pfa'` $(outdir)/
+
+# change this dependency
+get-pfa: get-rpm-pfa
+
##
## todo: this also depends on .tfm, FIXME.
$(outdir)/%.afm $(outdir)/%.enc $(outdir)/%.tex $(outdir)/%.dep: $(outdir)/%.log $(outdir)/%.tfm