makefile: have version.txt be a dep of ttf and otf files

This commit is contained in:
Rasmus Andersson 2019-09-07 16:03:29 -07:00
parent 5ec5be0881
commit e3da15b09f

View file

@ -90,14 +90,14 @@ build/%.woff: build/%.ttf
# Master UFOs -> variable 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) $< misc/fontbuild compile-var -o $@ $(FONTBUILD_FLAGS) $<
# Instance UFO -> OTF, TTF (note: masters' rules in generated.make) # 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) $< 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) $< misc/fontbuild compile -o $@ $(FONTBUILD_FLAGS) $<