diff options
author | Rasmus Andersson <rasmus@notion.se> | 2022-05-27 23:44:19 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2022-05-27 23:44:19 +0300 |
commit | 4b691a7cc45917e0df0f90412062098b1e52f336 (patch) | |
tree | 03d6c5031c85d97208b45b793fb6ddeb533f7916 /Makefile | |
parent | 05dd794823b3d2292fa2ae52afb4e262cde2d59f (diff) | |
download | inter-4b691a7cc45917e0df0f90412062098b1e52f336.tar.xz |
change source format from .glyphs to .glyphspackage
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -14,9 +14,12 @@ default: all # intermediate sources # short-circuit Make for performance -src/Inter.glyphs: +src/Inter.glyphspackage: @true +$(UFODIR)/Inter.glyphs: src/Inter.glyphspackage | $(UFODIR) + $(BIN)/python3 build/venv/bin/glyphspkg -o $(dir $@) $^ + # features src/features: $(wildcard src/features/*) @touch "$@" @@ -30,7 +33,7 @@ $(UFODIR)/Inter-roman.designspace: $(UFODIR)/Inter.designspace $(BIN)/python3 misc/tools/subset-designspace.py $^ $@ $(UFODIR)/Inter-italic.designspace: $(UFODIR)/Inter.designspace $(BIN)/python3 misc/tools/subset-designspace.py $^ $@ -$(UFODIR)/%.designspace: src/%.glyphs $(UFODIR)/features +$(UFODIR)/%.designspace: $(UFODIR)/%.glyphs $(UFODIR)/features $(BIN)/fontmake -o ufo -g $< --designspace-path $@ \ --master-dir $(UFODIR) --instance-dir $(UFODIR) $(BIN)/python3 misc/tools/postprocess-designspace.py $@ @@ -142,6 +145,8 @@ $(FONTDIR)/static-hinted: mkdir -p $@ $(FONTDIR)/var: mkdir -p $@ +$(UFODIR): + mkdir -p $@ static_otf: \ $(FONTDIR)/static/Inter-Black.otf \ |