From 05515f95afbf4809f98be2943d95c520cc7f65a1 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 5 Apr 2017 19:25:11 +0200 Subject: the documentation of arabluatex now has additional sample files --- makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 4f1dac1..1233202 100644 --- a/makefile +++ b/makefile @@ -11,6 +11,9 @@ doc: clean sty makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo lualatex $(pkg).dtx lualatex $(pkg).dtx + echo "now building the sample documents..." + latexmk -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' -outdir=TMP samples/al-Jahiz + mv TMP/*.pdf samples/ all: clean sty doc @@ -35,8 +38,9 @@ package: clean all cp *.lua *.ins *.dtx *.md *.pdf arabluatex/ # .bib is in dtx mkdir -p tex/lualatex/arabluatex/ cp *.lua *.sty tex/lualatex/arabluatex/ - mkdir -p doc/lualatex/arabluatex/ + mkdir -p doc/lualatex/arabluatex/samples cp *.{pdf,el} doc/lualatex/arabluatex/ + cp samples/*.{tex,pdf} doc/lualatex/arabluatex/samples mkdir -p source/lualatex/arabluatex/ cp *.ins *.dtx *.tex source/lualatex/arabluatex/ # .bib is in dtx zip -r arabluatex.tds.zip tex doc source @@ -45,9 +49,10 @@ package: clean all clean: rm -rf ~/texmf/tex/lualatex/arabluatex/ rm -rf ~/.emacs.d/auctex/auto/arabluatex*.el - rm -rf tex/ doc/ source/ auto/ + rm -rf tex/ doc/ source/ auto/ _minted*/ rm -rf arabluatex/ - rm -rf saved/ + rm -rf saved/ TMP/ + find ./samples/ -type f | grep -v ".*tex$$" | xargs /usr/bin/rm -f mkdir saved cp *.{lua,ins,dtx,tex,el} makefile saved # .bib is in dtx rm *.* -- cgit v1.2.3