aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-11-08 12:41:41 +0100
committerRobert Alessi <alessi@robertalessi.net>2019-11-08 12:41:41 +0100
commita1248401e3d4873e6a4f5bd4ad1d3d5fa2d21a0e (patch)
tree9c602118f6f1ccce0e8dcf8a4ba154180b7a7bfa
parentd4fe4e8acd234bd4d1926a60816b6de3be1af9eb (diff)
downloadarabluatex-a1248401e3d4873e6a4f5bd4ad1d3d5fa2d21a0e.tar.gz
new variable CMP in makefileHEADmaster
-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