summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2019-09-08 02:03:29 +0300
committerRasmus Andersson <rasmus@notion.se>2019-09-08 02:03:29 +0300
commite3da15b09fcedfff597e5aed8093da3b883d47a1 (patch)
tree14ee900444e2168ae41d558a6dd37767a6f13c05
parent5ec5be08813119cd13ec0766412db6058997bf13 (diff)
downloadinter-e3da15b09fcedfff597e5aed8093da3b883d47a1.tar.xz
makefile: have version.txt be a dep of ttf and otf files
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ae645f4b2..7606e1cfb 100644
--- a/Makefile
+++ b/Makefile
@@ -90,14 +90,14 @@ build/%.woff: build/%.ttf
# Master UFOs -> variable TTF
-$(FONTDIR)/var/%.var.ttf: src/%.designspace $(all_ufo_masters)
+$(FONTDIR)/var/%.var.ttf: src/%.designspace $(all_ufo_masters) version.txt
misc/fontbuild compile-var -o $@ $(FONTBUILD_FLAGS) $<
# Instance UFO -> OTF, TTF (note: masters' rules in generated.make)
-$(FONTDIR)/const/Inter-%.otf: build/ufo/Inter-%.ufo
+$(FONTDIR)/const/Inter-%.otf: build/ufo/Inter-%.ufo version.txt
misc/fontbuild compile -o $@ $(FONTBUILD_FLAGS) $<
-$(FONTDIR)/const/Inter-%.ttf: build/ufo/Inter-%.ufo
+$(FONTDIR)/const/Inter-%.ttf: build/ufo/Inter-%.ufo version.txt
misc/fontbuild compile -o $@ $(FONTBUILD_FLAGS) $<