Skip to content

Commit

Permalink
Fix build with current FontTools
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Mar 9, 2016
1 parent 1598d53 commit ec1811a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,17 @@ $(NAME)-%.otf: $(SRCDIR)/$(NAME)-%.sfdir $(SRCDIR)/$(LATIN)-%.sfdir $(SRCDIR)/$(
@FILES=($+); $(PY) $(BUILD) --version=$(VERSION) --out-file=$@ --feature-file=$${FILES[2]} $${FILES[0]} $${FILES[1]}
ifeq ($(ttx), true)
@echo " TTX $@"
@pyftsubset $@ --output-file=$@ --unicodes='*' --layout-features='*' --name-IDs='*'
@pyftsubset $@ --output-file=$@.tmp --unicodes='*' --layout-features='*' --name-IDs='*'
@mv $@.tmp $@
endif

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

0 comments on commit ec1811a

Please sign in to comment.