diff options
author | Rasmus Andersson <rasmus@notion.se> | 2017-08-28 12:36:40 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2017-08-28 12:36:40 +0300 |
commit | ca5fe60c999fa94bc0b8c051eeb0f351ed878fed (patch) | |
tree | c7a1e78ebcf2ccc80b2403b1e3d4bdc408585e18 /Makefile | |
parent | 4f790d0ae83d490e5b06563bc42f9bc5d633c8a9 (diff) | |
download | inter-ca5fe60c999fa94bc0b8c051eeb0f351ed878fed.tar.xz |
Various improvements
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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 |