summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2018-09-04 03:00:19 +0300
committerRasmus Andersson <rasmus@notion.se>2018-09-04 03:00:19 +0300
commit8d6bf1281c9b48d33e40a2a1c5bd88298ade1606 (patch)
tree21c8dfafdef91ea1bc461a6782f0959fb3cc44d9 /Makefile
parent3099bc6495489489feca8f28d2132c38ced8776a (diff)
downloadinter-8d6bf1281c9b48d33e40a2a1c5bd88298ade1606.tar.xz
Makefile: update some docs targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 9cde5fa45..346748d7f 100644
--- a/Makefile
+++ b/Makefile
@@ -186,18 +186,14 @@ docs_fonts:
mkdir docs/font-files
cp -a build/unhinted/*.woff build/unhinted/*.woff2 build/unhinted/*.otf docs/font-files/
-
-# src/glyphorder.txt: src/Inter-UI-Regular.ufo/lib.plist src/Inter-UI-Black.ufo/lib.plist src/diacritics.txt misc/gen-glyphorder.py
-# misc/gen-glyphorder.py src/Inter-UI-*.ufo > src/glyphorder.txt
-
-docs/_data/fontinfo.json: misc/fontinfo.py docs/font-files/Inter-UI-*.otf
- misc/fontinfo.py -pretty docs/font-files/Inter-UI-Regular.otf > docs/_data/fontinfo.json
+docs/_data/fontinfo.json: docs/font-files/Inter-UI-Regular.otf misc/tools/fontinfo.py
+ misc/tools/fontinfo.py -pretty $< > docs/_data/fontinfo.json
docs/lab/glyphinfo.json: build/tmp/UnicodeData.txt misc/tools/gen-glyphinfo.py
misc/tools/gen-glyphinfo.py -ucd $< src/Inter-UI-*.ufo > $@
-docs/glyphs/metrics.json: src/fontbuild.cfg misc/gen-metrics-and-svgs.py $(Regular_ufo_d)
- misc/gen-metrics-and-svgs.py -f src/Inter-UI-Regular.ufo
+docs/glyphs/metrics.json: $(Regular_ufo_d) misc/tools/gen-metrics-and-svgs.py
+ misc/tools/gen-metrics-and-svgs.py src/Inter-UI-Regular.ufo
# Download latest Unicode data
build/tmp/UnicodeData.txt: