@echo ""
@echo "ERROR: mftrace not found"
@echo ""
- @echo "For obtaining PFA fonts, either install mftrace "
+ @echo "For obtaining PFA/SVG fonts, either install mftrace "
@echo "(see http://www.xs4all.nl/~hanwen/mftrace/ ),"
@echo "or try one of the following commands in this directory: "
@echo ""
- @echo " make get-pfa "
- @echo " make get-rpm-pfa "
- @echo " make get-deb-pfa "
+ @echo " make get-fonts "
+ @echo " make get-rpm-fonts "
+ @echo " make get-deb-fonts "
@echo ""
@echo "These commands will try to download the files from internet."
@false
$(outdir)/$(debian-package):
wget --passive-ftp -P $(outdir) $(debian-mirror)/debian/pool/main/l/lilypond/$(debian-package)
-get-deb-pfa: $(outdir)/$(debian-package)
+get-deb-fonts: $(outdir)/$(debian-package)
rm -rf $(outdir)/./usr
ar p $< data.tar.gz | \
- tar -C $(outdir) -zvxf - '*.pfa'
- cp `find $(outdir)/usr/ -name '*.pfa'` $(outdir)/
+ tar -C $(outdir) -zvxf - '*.pfa' '*.svg'
+ cp `find $(outdir)/usr/ -name '*.pfa' -o -name '*.svg'` $(outdir)/
redhat-package=lilypond-$(TOPLEVEL_VERSION)-1.i386.rpm
$(outdir)/$(redhat-package):
wget --passive-ftp -P $(outdir) http://lilypond.org/download/binaries/Fedora-4/$(redhat-package)
-get-rpm-pfa: $(outdir)/$(redhat-package)
+get-rpm-fonts: $(outdir)/$(redhat-package)
cd $(outdir) ; rm -rf usr/ # (root alert!)
- cd $(outdir) ; rpm2cpio $(redhat-package) | cpio -uid '*.pfa'
- cp `find $(outdir)/usr/ -name '*.pfa'` $(outdir)/
+ cd $(outdir) ; rpm2cpio $(redhat-package) | cpio -uid '*.pfa' '*.svg'
+ cp `find $(outdir)/usr/ -name '*.pfa' -o -name '*.svg'` $(outdir)/
# change this dependency
-get-pfa: get-rpm-pfa
+get-fonts: get-rpm-fonts
+get-pfa: get-rpm-fonts
##