diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/amiri/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/fonts/amiri/Makefile | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/fonts/amiri/Makefile b/Master/texmf-dist/doc/fonts/amiri/Makefile index 8a4fa882f39..31d0b635c10 100644 --- a/Master/texmf-dist/doc/fonts/amiri/Makefile +++ b/Master/texmf-dist/doc/fonts/amiri/Makefile @@ -1,7 +1,7 @@ .PHONY: all clean ttf web pack check NAME=amiri -VERSION=0.103 +VERSION=0.104 TOOLS=tools SRC=sources @@ -23,6 +23,7 @@ WTTF=$(FONTS:%=$(WEB)/%.ttf) WOFF=$(FONTS:%=$(WEB)/%.woff) EOTS=$(FONTS:%=$(WEB)/%.eot) PDFS=$(DOC)/$(NAME)-table.pdf +HTML=$(DOC)/documentation-arabic.html CSSS=$(WEB)/$(NAME).css FEAT=$(wildcard $(SRC)/*.fea) TEST=$(wildcard $(TESTS)/*.test) @@ -35,23 +36,23 @@ all: ttf web ttf: $(DTTF) web: $(WTTF) $(WOFF) $(EOTS) $(CSSS) -doc: $(PDFS) +doc: $(PDFS) $(HTML) $(NAME)-regular.ttf: $(SRC)/$(NAME)-regular.sfd $(SRC)/$(NAME)-regular.fea $(FEAT) $(BUILD) @echo " FF\t$@" - @$(FF) --input $< --output $@ --version $(VERSION) + @$(FF) --input $< --output $@ --features=$(SRC)/$(NAME)-regular.fea --version $(VERSION) -$(NAME)-slanted.ttf: $(SRC)/$(NAME)-regular.sfd $(SRC)/$(NAME)-regular.fea $(FEAT) $(BUILD) +$(NAME)-slanted.ttf: $(SRC)/$(NAME)-regular.sfd $(SRC)/$(NAME)-slanted.fea $(FEAT) $(BUILD) @echo " FF\t$@" - @$(FF) --input $< --output $@ --version $(VERSION) --slant=7 + @$(FF) --input $< --output $@ --features=$(SRC)/$(NAME)-slanted.fea --version $(VERSION) --slant=7 -$(NAME)-bold.ttf: $(SRC)/$(NAME)-bold.sfd $(SRC)/$(NAME)-bold.fea $(FEAT) $(BUILD) +$(NAME)-bold.ttf: $(SRC)/$(NAME)-bold.sfd $(SRC)/$(NAME)-regular.fea $(FEAT) $(BUILD) @echo " FF\t$@" - @$(FF) --input $< --output $@ --version $(VERSION) + @$(FF) --input $< --output $@ --features=$(SRC)/$(NAME)-regular.fea --version $(VERSION) -$(NAME)-boldslanted.ttf: $(SRC)/$(NAME)-bold.sfd $(SRC)/$(NAME)-bold.fea $(FEAT) $(BUILD) +$(NAME)-boldslanted.ttf: $(SRC)/$(NAME)-bold.sfd $(SRC)/$(NAME)-slanted.fea $(FEAT) $(BUILD) @echo " FF\t$@" - @$(FF) --input $< --output $@ --version $(VERSION) --slant=7 + @$(FF) --input $< --output $@ --features=$(SRC)/$(NAME)-slanted.fea --version $(VERSION) --slant=7 $(WEB)/%.ttf: %.ttf $(BUILD) @echo " FF\t$@" @@ -80,6 +81,10 @@ $(DOC)/$(NAME)-table.pdf: $(NAME)-regular.ttf @pdfoutline $@.tmp $@.txt $@ @rm -f $@.tmp $@.txt +$(DOC)/documentation-arabic.html: $(DOC)/documentation-sources/documentation-arabic.md + @echo " GEN\t$@" + @pandoc $< -o $@ -f markdown -t html -s -c documentation-arabic.css --toc + check: $(TEST) $(DTTF) ifeq ($(shell which hb-shape),) @echo "hb-shape not found, skipping tests" |