summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/amiri/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-07-23 21:54:54 +0000
committerKarl Berry <karl@freefriends.org>2012-07-23 21:54:54 +0000
commit44928b3e4ed601cdf5afd19c5abb613fe3e8b4a0 (patch)
tree4c15be6fa15d2ae5a18217fbdb63c543f428f6b6 /Master/texmf-dist/doc/fonts/amiri/Makefile
parent9ac64d0dc268cfdbd79ccb2a49b3d8ffca523d00 (diff)
amiri 0.104 (23jul12)
git-svn-id: svn://tug.org/texlive/trunk@27114 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/amiri/Makefile')
-rw-r--r--Master/texmf-dist/doc/fonts/amiri/Makefile23
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"