From 70cd1a47db4de6581040427b03b95d6895058a02 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 21 Dec 2004 22:36:25 +0000 Subject: [PATCH] (pfa_warning): Use less broken check. --- mf/GNUmakefile | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/mf/GNUmakefile b/mf/GNUmakefile index a2542a59ea..e8ee1857ad 100644 --- a/mf/GNUmakefile +++ b/mf/GNUmakefile @@ -116,21 +116,21 @@ export MFINPUTS:=.:$(MFINPUTS) default: pfa_warning $(ALL_GEN_FILES) $(outdir)/bigcheese20.otf pfa_warning: -# ifneq ($(notdir $(MFTRACE)),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 the internet." -# @false -# endif +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 -- 2.39.5