From ca5fe60c999fa94bc0b8c051eeb0f351ed878fed Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Mon, 28 Aug 2017 02:36:40 -0700 Subject: Various improvements --- Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 741408111..88826eafa 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ VERSION := $(shell misc/version.py) include build/etc/generated.make res_files := src/fontbuild.cfg src/diacritics.txt src/glyphlist.txt \ - src/glyphorder.txt src/features.fea + src/features.fea src/glyphorder.txt # UFO -> TTF & OTF (note that UFO deps are defined by generated.make) build/tmp/InterfaceTTF/Interface-%.ttf: $(res_files) @@ -123,10 +123,20 @@ install_otf: all_otf install: all install_otf -glyphinfo: _local/UnicodeData.txt + +glyphinfo: docs/lab/glyphinfo.json docs/glyphs/metrics.json + +src/glyphorder.txt: $(all_ufo) + misc/gen-glyphorder.py src/Interface-*.ufo > src/glyphorder.txt + +docs/lab/glyphinfo.json: _local/UnicodeData.txt src/glyphorder.txt misc/gen-glyphinfo.py -ucd _local/UnicodeData.txt \ src/Interface-*.ufo > docs/lab/glyphinfo.json +docs/glyphs/metrics.json: src/glyphorder.txt + misc/gen-metrics-and-svgs.py -f src/Interface-Regular.ufo + + # Download latest Unicode data _local/UnicodeData.txt: @mkdir -p _local -- cgit v1.2.3