diff options
author | Karl Berry <karl@freefriends.org> | 2013-12-30 23:23:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-12-30 23:23:33 +0000 |
commit | 3f30cad80839bb6f0464f54c6caf66622ba1d783 (patch) | |
tree | 466a146998b216224d6cbff9bb446a115b1fcf0e /Master/texmf-dist/doc/fonts/amiri/Makefile | |
parent | bf52e3e5fa06dcf4dccf42a5b1cb38c7c8bdbd0f (diff) |
amiri (30dec13)
git-svn-id: svn://tug.org/texlive/trunk@32506 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/amiri/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/fonts/amiri/Makefile | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/fonts/amiri/Makefile b/Master/texmf-dist/doc/fonts/amiri/Makefile index 4aa906759f0..8f879ea9b8b 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.106 +VERSION=0.107 TOOLS=tools SRC=sources @@ -14,7 +14,9 @@ DIST=$(NAME)-$(VERSION) BUILD=$(TOOLS)/build.py RUNTEST=$(TOOLS)/runtest.py -FF=python $(BUILD) +CHECKBLANKS=$(TOOLS)/checkblankglyphs.py +PY=python +FF=$(PY) $(BUILD) SFNTTOOL=sfnttool PP=gpp +c "/*" "*/" +c "//" "\n" +c "\\\n" "" -I$(SRC) @@ -39,67 +41,68 @@ web: $(WTTF) $(WOFF) $(EOTS) $(CSSS) doc: $(PDFS) $(NAME)-quran.ttf: $(SRC)/$(NAME)-regular.sfd $(SRC)/crimson/Crimson-Roman.sfd $(SRC)/$(NAME).fea $(FEAT) $(BUILD) - @echo " FF\t$@" + @echo " FF $@" @$(PP) -DQURAN $(SRC)/$(NAME).fea -o $(SRC)/$(NAME)-quran.fea.pp @$(FF) --input $< --output $@ --features=$(SRC)/$(NAME)-quran.fea.pp --version $(VERSION) --quran $(NAME)-regular.ttf: $(SRC)/$(NAME)-regular.sfd $(SRC)/crimson/Crimson-Roman.sfd $(SRC)/$(NAME).fea $(FEAT) $(BUILD) - @echo " FF\t$@" + @echo " FF $@" @$(PP) $(SRC)/$(NAME).fea -o $(SRC)/$(NAME)-regular.fea.pp @$(FF) --input $< --output $@ --features=$(SRC)/$(NAME)-regular.fea.pp --version $(VERSION) $(NAME)-slanted.ttf: $(SRC)/$(NAME)-regular.sfd $(SRC)/crimson/Crimson-Italic.sfd $(SRC)/$(NAME).fea $(FEAT) $(BUILD) - @echo " FF\t$@" + @echo " FF $@" @$(PP) -DITALIC $(SRC)/$(NAME).fea -o $(SRC)/$(NAME)-slanted.fea.pp @$(FF) --input $< --output $@ --features=$(SRC)/$(NAME)-slanted.fea.pp --version $(VERSION) --slant=10 $(NAME)-bold.ttf: $(SRC)/$(NAME)-bold.sfd $(SRC)/crimson/Crimson-Bold.sfd $(SRC)/$(NAME).fea $(FEAT) $(BUILD) - @echo " FF\t$@" + @echo " FF $@" @$(PP) $(SRC)/$(NAME).fea -o $(SRC)/$(NAME)-bold.fea.pp @$(FF) --input $< --output $@ --features=$(SRC)/$(NAME)-bold.fea.pp --version $(VERSION) $(NAME)-boldslanted.ttf: $(SRC)/$(NAME)-bold.sfd $(SRC)/crimson/Crimson-BoldItalic.sfd $(SRC)/$(NAME).fea $(FEAT) $(BUILD) - @echo " FF\t$@" + @echo " FF $@" @$(PP) -DITALIC $(SRC)/$(NAME).fea -o $(SRC)/$(NAME)-boldslanted.fea.pp @$(FF) --input $< --output $@ --features=$(SRC)/$(NAME)-boldslanted.fea.pp --version $(VERSION) --slant=10 $(WEB)/%.ttf: %.ttf $(BUILD) - @echo " FF\t$@" + @echo " FF $@" @mkdir -p $(WEB) @$(FF) --input $< --output $@ --web 1>/dev/null 2>&1 $(WEB)/%.woff: $(WEB)/%.ttf - @echo " FF\t$@" + @echo " FF $@" @mkdir -p $(WEB) @$(SFNTTOOL) -w $< $@ $(WEB)/%.eot: $(WEB)/%.ttf - @echo " FF\t$@" + @echo " FF $@" @mkdir -p $(WEB) @$(SFNTTOOL) -e -x $< $@ $(WEB)/%.css: $(WTTF) $(BUILD) - @echo " GEN\t$@" + @echo " GEN $@" @mkdir -p $(WEB) @$(FF) --css --input "$(WTTF)" --output $@ --version $(VERSION) $(DOC)/$(NAME)-table.pdf: $(NAME)-regular.ttf - @echo " GEN\t$@" + @echo " GEN $@" @mkdir -p $(DOC) @fntsample --font-file $< --output-file $@.tmp --print-outline > $@.txt @pdfoutline $@.tmp $@.txt $@ @rm -f $@.tmp $@.txt -$(DOC)/documentation-arabic.pdf: $(DOC)/documentation-sources/documentation-arabic.tex - @echo " GEN\t$@" +$(DOC)/documentation-arabic.pdf: $(DOC)/$(DOC)-$(SRC)/documentation-arabic.tex + @echo " GEN $@" @latexmk --norc --xelatex --quiet --output-directory=${DOC} $< check: $(TEST) $(DTTF) + @echo "running tests" + @$(PY) $(CHECKBLANKS) $(DTTF) 1>/dev/null 2>&1 ifeq ($(shell which hb-shape),) @echo "hb-shape not found, skipping tests" else - @echo "running tests" - @$(RUNTEST) $(TEST) + @$(PY) $(RUNTEST) $(TEST) endif clean: |