diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-09-10 20:21:35 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-10-11 09:37:35 +0300 |
commit | 69d824fc5bf9ba28f664f6d20fe0da91b82bd1a5 (patch) | |
tree | 906bb38db8cc553ca205dccd47b3e55baaf89800 /Makefile | |
parent | ee6f3d71d7822756bdc1a60ce2b06d9666321c62 (diff) | |
download | inter-69d824fc5bf9ba28f664f6d20fe0da91b82bd1a5.tar.xz |
makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -47,6 +47,8 @@ all_const_hinted: all_ttf_hinted all_web_hinted all_var: $(FONTDIR)/var/Inter-UI.var.woff2 all_var_hinted: $(FONTDIR)/var-hinted/Inter-UI.var.ttf $(FONTDIR)/var-hinted/Inter-UI.var.woff2 +.PHONY: all_const all_const_hinted all_var all_var_hinted + export PATH := $(PWD)/build/venv/bin:$(PATH) # generated.make is automatically generated by init.sh and defines depenencies for @@ -72,7 +74,7 @@ build/%.woff: build/%.ttf # UFO -> OTF, TTF -$(FONTDIR)/var/%.ttf: src/Inter-UI.designspace $(Regular_ufo_d) $(Black_ufo_d) +$(FONTDIR)/var/Inter-UI.var.ttf: src/Inter-UI.designspace $(Regular_ufo_d) $(Black_ufo_d) misc/fontbuild compile-var -o $@ src/Inter-UI.designspace $(FONTDIR)/const/Inter-UI-Regular.%: src/Inter-UI.designspace $(Regular_ufo_d) @@ -81,6 +83,11 @@ $(FONTDIR)/const/Inter-UI-Regular.%: src/Inter-UI.designspace $(Regular_ufo_d) $(FONTDIR)/const/Inter-UI-Black.%: src/Inter-UI.designspace $(Black_ufo_d) misc/fontbuild compile -o $@ src/Inter-UI-Black.ufo +Italic_ufo_d := $(wildcard src/Inter-UI-RegularItalic.ufo/*.{fea,plist} src/Inter-UI-RegularItalic.ufo/glyphs/*.{glif,plist}) + +$(FONTDIR)/const/Inter-UI-Italic.%: src/Inter-UI.designspace $(Italic_ufo_d) + misc/fontbuild compile -o $@ src/Inter-UI-RegularItalic.ufo + $(FONTDIR)/const/Inter-UI-%.otf: build/ufo/Inter-UI-%.ufo src/Inter-UI.designspace $(Regular_ufo_d) $(Black_ufo_d) misc/fontbuild compile -o $@ $< @@ -95,16 +102,10 @@ src/Inter-UI.designspace: src/Inter-UI.glyphs designspace: src/Inter-UI.designspace .PHONY: designspace -# These rules simply short-circuit Make for performance +# short-circuit Make for performance src/Inter-UI.glyphs: @true -$(Regular_ufo_d): - @true - -$(Black_ufo_d): - @true - # instance UFOs <- master UFOs build/ufo/Inter-UI-%.ufo: src/Inter-UI.designspace $(Regular_ufo_d) $(Black_ufo_d) misc/fontbuild instancegen src/Inter-UI.designspace $* @@ -266,4 +267,4 @@ install: install_otf clean: rm -rvf build/tmp build/fonts -.PHONY: all web clean install install_otf install_ttf deploy pre_dist dist geninfo copy_docs_fonts all_const_hinted test glyphsync +.PHONY: all web clean install install_otf install_ttf deploy pre_dist dist geninfo copy_docs_fonts test glyphsync |