diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-11-08 12:41:41 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-11-08 12:41:41 +0100 |
commit | a1248401e3d4873e6a4f5bd4ad1d3d5fa2d21a0e (patch) | |
tree | 9c602118f6f1ccce0e8dcf8a4ba154180b7a7bfa | |
parent | d4fe4e8acd234bd4d1926a60816b6de3be1af9eb (diff) | |
download | arabluatex-a1248401e3d4873e6a4f5bd4ad1d3d5fa2d21a0e.tar.gz |
new variable CMP in makefile
-rw-r--r-- | makefile | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -2,20 +2,21 @@ pkg := arabluatex | |||
2 | ver := $(shell ltxfileinfo -v $(pkg).dtx|sed -e 's/^v//') | 2 | ver := $(shell ltxfileinfo -v $(pkg).dtx|sed -e 's/^v//') |
3 | TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') | 3 | TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') |
4 | HOMEDIR := $$HOME | 4 | HOMEDIR := $$HOME |
5 | CMP = lualatex-dev | ||
5 | 6 | ||
6 | sty: clean | 7 | sty: clean |
7 | lualatex $(pkg).ins | 8 | $(CMP) $(pkg).ins |
8 | 9 | ||
9 | doc: clean sty | 10 | doc: 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 | ||