diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-11-26 19:57:00 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-11-26 19:57:00 +0300 |
commit | 30c17551659d0b852fd8c4d028136e64caa2a4c3 (patch) | |
tree | c5d6dba9913456dadda66aaa5a50ad29a0739035 /Makefile | |
parent | dcec705b073fac81dc4b8fe8a93db82f34dae772 (diff) | |
download | inter-30c17551659d0b852fd8c4d028136e64caa2a4c3.tar.xz |
Initial work on light weight master
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 22 insertions, 7 deletions
@@ -83,36 +83,51 @@ build/%.woff: build/%.ttf # Master UFO -> OTF, TTF -all_ufo_masters = $(Regular_ufo_d) $(Black_ufo_d) $(Italic_ufo_d) $(BlackItalic_ufo_d) +all_ufo_masters = $(Thin_ufo_d) \ + $(ThinItalic_ufo_d) \ + $(Regular_ufo_d) \ + $(Italic_ufo_d) \ + $(Black_ufo_d) \ + $(BlackItalic_ufo_d) $(FONTDIR)/var/%.var.ttf: src/%.designspace $(all_ufo_masters) misc/fontbuild compile-var -o $@ $< +$(FONTDIR)/const/Inter-UI-Thin.%: src/Inter-UI.designspace $(Thin_ufo_d) + misc/fontbuild compile -o $@ src/Inter-UI-Thin.ufo + +$(FONTDIR)/const/Inter-UI-ThinItalic.%: src/Inter-UI.designspace $(ThinItalic_ufo_d) + misc/fontbuild compile -o $@ src/Inter-UI-ThinItalic.ufo + $(FONTDIR)/const/Inter-UI-Regular.%: src/Inter-UI.designspace $(Regular_ufo_d) misc/fontbuild compile -o $@ src/Inter-UI-Regular.ufo -$(FONTDIR)/const/Inter-UI-Black.%: src/Inter-UI.designspace $(Black_ufo_d) - misc/fontbuild compile -o $@ src/Inter-UI-Black.ufo - $(FONTDIR)/const/Inter-UI-Italic.%: src/Inter-UI.designspace $(Italic_ufo_d) misc/fontbuild compile -o $@ src/Inter-UI-Italic.ufo +$(FONTDIR)/const/Inter-UI-Black.%: src/Inter-UI.designspace $(Black_ufo_d) + misc/fontbuild compile -o $@ src/Inter-UI-Black.ufo + $(FONTDIR)/const/Inter-UI-BlackItalic.%: src/Inter-UI.designspace $(BlackItalic_ufo_d) misc/fontbuild compile -o $@ src/Inter-UI-BlackItalic.ufo # Instance UFO -> OTF, TTF -$(FONTDIR)/const/Inter-UI-%.otf: build/ufo/Inter-UI-%.ufo src/Inter-UI.designspace $(all_ufo_masters) +$(FONTDIR)/const/Inter-UI-%.otf: build/ufo/Inter-UI-%.ufo misc/fontbuild compile -o $@ $< -$(FONTDIR)/const/Inter-UI-%.ttf: build/ufo/Inter-UI-%.ufo src/Inter-UI.designspace $(all_ufo_masters) +$(FONTDIR)/const/Inter-UI-%.ttf: build/ufo/Inter-UI-%.ufo misc/fontbuild compile -o $@ $< # designspace <- glyphs file +src/Inter-UI-*.designspace: src/Inter-UI.designspace src/Inter-UI.designspace: src/Inter-UI.glyphs misc/fontbuild glyphsync $< +# make sure intermediate files are not gc'd by make +.PRECIOUS: src/Inter-UI-*.designspace + designspace: src/Inter-UI.designspace .PHONY: designspace @@ -121,7 +136,7 @@ src/Inter-UI.glyphs: @true # instance UFOs <- master UFOs -build/ufo/Inter-UI-%.ufo: src/Inter-UI.designspace $(Regular_ufo_d) $(Black_ufo_d) +build/ufo/Inter-UI-%.ufo: src/Inter-UI.designspace $(all_ufo_masters) misc/fontbuild instancegen src/Inter-UI.designspace $* # make sure intermediate UFOs are not gc'd by make |