Skip to content
Browse files

Just list all fonts explicitly

  • Loading branch information...
1 parent 6446625 commit 15b90cbf8f98da772f47453ec3c83f9078da3077 @khaledhosny committed
Showing with 11 additions and 7 deletions.
  1. +11 −7 Makefile
View
18 Makefile
@@ -36,22 +36,26 @@ ttf: $(DTTF)
web: $(WTTF) $(WOFF) $(EOTS) $(CSSS)
doc: $(PDFS)
-$(WEB)/%.ttf: %.ttf $(BUILD)
+$(NAME)-regular.ttf: $(SRC)/$(NAME)-regular.sfdir $(SRC)/$(NAME)-regular.fea $(FEAT) $(BUILD)
@echo " FF\t$@"
- @mkdir -p $(WEB)
- @$(FF) --input $< --output $@ --web 1>/dev/null 2>&1
+ @$(FF) --input $< --output $@ --version $(VERSION)
-%.ttf: $(SRC)/%.sfdir $(SRC)/%.fea $(FEAT) $(BUILD)
+$(NAME)-slanted.ttf: $(SRC)/$(NAME)-regular.sfdir $(SRC)/$(NAME)-regular.fea $(FEAT) $(BUILD)
+ @echo " FF\t$@"
+ @$(FF) --input $< --output $@ --version $(VERSION) --slant=7
+
+$(NAME)-bold.ttf: $(SRC)/$(NAME)-bold.sfdir $(SRC)/$(NAME)-bold.fea $(FEAT) $(BUILD)
@echo " FF\t$@"
@$(FF) --input $< --output $@ --version $(VERSION)
-$(NAME)-slanted.ttf: $(SRC)/$(NAME)-regular.sfdir $(BUILD)
+$(NAME)-boldslanted.ttf: $(SRC)/$(NAME)-bold.sfdir $(SRC)/$(NAME)-bold.fea $(FEAT) $(BUILD)
@echo " FF\t$@"
@$(FF) --input $< --output $@ --version $(VERSION) --slant=7
-$(NAME)-boldslanted.ttf: $(SRC)/$(NAME)-bold.sfdir $(BUILD)
+$(WEB)/%.ttf: %.ttf $(BUILD)
@echo " FF\t$@"
- @$(FF) --input $< --output $@ --version $(VERSION) --slant=7
+ @mkdir -p $(WEB)
+ @$(FF) --input $< --output $@ --web 1>/dev/null 2>&1
$(WEB)/%.woff: $(WEB)/%.ttf
@echo " FF\t$@"

0 comments on commit 15b90cb

Please sign in to comment.
Something went wrong with that request. Please try again.