From a1248401e3d4873e6a4f5bd4ad1d3d5fa2d21a0e Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Fri, 8 Nov 2019 12:41:41 +0100 Subject: new variable CMP in makefile --- makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 5fde0a0..043d646 100644 --- a/makefile +++ b/makefile @@ -2,20 +2,21 @@ pkg := arabluatex ver := $(shell ltxfileinfo -v $(pkg).dtx|sed -e 's/^v//') TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') HOMEDIR := $$HOME +CMP = lualatex-dev sty: clean - lualatex $(pkg).ins + $(CMP) $(pkg).ins doc: clean sty - lualatex --shell-escape $(pkg).dtx + $(CMP) --shell-escape $(pkg).dtx biber arabluatex - lualatex --shell-escape $(pkg).dtx + $(CMP) --shell-escape $(pkg).dtx makeindex -s gind.ist -o $(pkg).ind $(pkg).idx makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo - lualatex --shell-escape $(pkg).dtx - lualatex --shell-escape $(pkg).dtx + $(CMP) --shell-escape $(pkg).dtx + $(CMP) --shell-escape $(pkg).dtx for i in samples/*.tex; \ - do latexmk -outdir=TMP -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' $$i; \ + do latexmk -outdir=TMP -lualatex -e '$$lualatex=q/$(CMP) %O --shell-escape %S/' $$i; \ done mv TMP/*.pdf samples/ -- cgit v1.2.3