-default: pfa_warning $(ALL_GEN_FILES) $(outdir)/emmentaler-20.otf
-
-pfa_warning:
-ifneq ($(shell $(MFTRACE) --version | sed 's/ .*//'),mftrace)
- @echo ""
- @echo "ERROR: mftrace not found"
- @echo ""
- @echo "For obtaining PFA 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 ""
- @echo "These commands will try to download the files from internet."
- @false
-endif
-
-
-debian-mirror=http://ftp.us.debian.org
-debian-package =lilypond_$(TOPLEVEL_VERSION)-1_i386.deb
-$(outdir)/$(debian-package):
- wget --passive-ftp -P $(outdir) $(debian-mirror)/debian/pool/main/l/lilypond/$(debian-package)
-
-get-deb-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)/