1
1
mirror of https://github.com/rsms/inter.git synced 2024-12-25 16:44:27 +03:00

makefile: fixes issue where glyphsync would fail when build/ufo was missing

This commit is contained in:
Rasmus Andersson 2019-10-23 19:52:27 -07:00
parent 86ba62ee30
commit a141c10c90

View File

@ -110,6 +110,7 @@ $(FONTDIR)/const/Inter-%.ttf: build/ufo/Inter-%.ufo version.txt
build/ufo/Inter-roman.designspace: build/ufo/Inter.designspace build/ufo/Inter-roman.designspace: build/ufo/Inter.designspace
build/ufo/Inter-italic.designspace: build/ufo/Inter.designspace build/ufo/Inter-italic.designspace: build/ufo/Inter.designspace
build/ufo/Inter.designspace: src/Inter.glyphs build/ufo/Inter.designspace: src/Inter.glyphs
@mkdir -p build/ufo
misc/fontbuild glyphsync -o build/ufo src/Inter.glyphs misc/fontbuild glyphsync -o build/ufo src/Inter.glyphs
@ -129,7 +130,7 @@ src/features: $(wildcard src/features/*)
touch "$@" touch "$@"
@true @true
build/ufo/features: src/features build/ufo/features: src/features
mkdir -p build/ufo @mkdir -p build/ufo
ln -s ../../src/features build/ufo/features ln -s ../../src/features build/ufo/features
# make sure intermediate UFOs are not gc'd by make # make sure intermediate UFOs are not gc'd by make