From: Ben Harris Date: Sun, 6 Aug 2017 22:12:09 +0000 (+0100) Subject: Fix FontForge Makefile rules to work properly. X-Git-Tag: bedstead-002.000~84 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=beda7a12f37289c2771e234940943423a3ac922e;p=bedstead.git Fix FontForge Makefile rules to work properly. When generating secondary targets, they still need to pass the name of the primary target to FontForge. --- diff --git a/Makefile b/Makefile index 5e3d832..ffb5e8a 100644 --- a/Makefile +++ b/Makefile @@ -38,10 +38,11 @@ bedstead-ultracondensed.sfd: bedstead %.otf %-10.bdf %-20.bdf: %.sfd fontforge -lang=ff \ - -c 'Open($$1); BitmapsAvail([10, 20]); Generate($$2, "bdf")' $< $@ + -c 'Open($$1); BitmapsAvail([10, 20]); Generate($$2, "bdf")' \ + $< $*.otf %.pfa %.afm: %.sfd - fontforge -lang=ff -c 'Open($$1); Generate($$2)' $< $@ + fontforge -lang=ff -c 'Open($$1); Generate($$2)' $< $*.pfa %.png: %.ps $(OTFFILES) gs -P -q -dSAFER -sDEVICE=pnggray -dTextAlphaBits=4 -o $@ $<