aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/makefile b/makefile
index 5fde0a0..043d646 100644
--- a/makefile
+++ b/makefile
@@ -2,20 +2,21 @@ pkg := arabluatex
2ver := $(shell ltxfileinfo -v $(pkg).dtx|sed -e 's/^v//') 2ver := $(shell ltxfileinfo -v $(pkg).dtx|sed -e 's/^v//')
3TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') 3TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME')
4HOMEDIR := $$HOME 4HOMEDIR := $$HOME
5CMP = lualatex-dev
5 6
6sty: clean 7sty: clean
7 lualatex $(pkg).ins 8 $(CMP) $(pkg).ins
8 9
9doc: clean sty 10doc: clean sty
10 lualatex --shell-escape $(pkg).dtx 11 $(CMP) --shell-escape $(pkg).dtx
11 biber arabluatex 12 biber arabluatex
12 lualatex --shell-escape $(pkg).dtx 13 $(CMP) --shell-escape $(pkg).dtx
13 makeindex -s gind.ist -o $(pkg).ind $(pkg).idx 14 makeindex -s gind.ist -o $(pkg).ind $(pkg).idx
14 makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo 15 makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo
15 lualatex --shell-escape $(pkg).dtx 16 $(CMP) --shell-escape $(pkg).dtx
16 lualatex --shell-escape $(pkg).dtx 17 $(CMP) --shell-escape $(pkg).dtx
17 for i in samples/*.tex; \ 18 for i in samples/*.tex; \
18 do latexmk -outdir=TMP -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' $$i; \ 19 do latexmk -outdir=TMP -lualatex -e '$$lualatex=q/$(CMP) %O --shell-escape %S/' $$i; \
19 done 20 done
20 mv TMP/*.pdf samples/ 21 mv TMP/*.pdf samples/
21 22