Skip to content

Commit ec1811a

Browse files
committed
Fix build with current FontTools
1 parent 1598d53 commit ec1811a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,17 @@ $(NAME)-%.otf: $(SRCDIR)/$(NAME)-%.sfdir $(SRCDIR)/$(LATIN)-%.sfdir $(SRCDIR)/$(
4545
@FILES=($+); $(PY) $(BUILD) --version=$(VERSION) --out-file=$@ --feature-file=$${FILES[2]} $${FILES[0]} $${FILES[1]}
4646
ifeq ($(ttx), true)
4747
@echo " TTX $@"
48-
@pyftsubset $@ --output-file=$@ --unicodes='*' --layout-features='*' --name-IDs='*'
48+
@pyftsubset $@ --output-file=$@.tmp --unicodes='*' --layout-features='*' --name-IDs='*'
49+
@mv $@.tmp $@
4950
endif
5051

5152
$(NAME)-%.ttf: $(SRCDIR)/$(NAME)-%.sfdir $(SRCDIR)/$(LATIN)-%.sfdir $(SRCDIR)/$(NAME).fea Makefile $(BUILD)
5253
@echo " FF $@"
5354
@FILES=($+); $(PY) $(BUILD) --version=$(VERSION) --out-file=$@ --feature-file=$${FILES[2]} $${FILES[0]} $${FILES[1]}
5455
ifeq ($(ttx), true)
5556
@echo " TTX $@"
56-
@pyftsubset $@ --output-file=$@ --unicodes='*' --layout-features='*' --name-IDs='*'
57+
@pyftsubset $@ --output-file=$@.tmp --unicodes='*' --layout-features='*' --name-IDs='*'
58+
@mv $@.tmp $@
5759
endif
5860
ifeq ($(crunch), true)
5961
@echo " FC $@"

0 commit comments

Comments
 (0)