aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2017-04-06 10:54:05 +0200
committerRobert Alessi <alessi@robertalessi.net>2017-04-06 10:54:05 +0200
commit022d0fd2c526bd55b0a42510315c5a49dc5f07ac (patch)
treeb73249b9574915b8b39c8be8a5241e358e1c4c92 /makefile
parent05515f95afbf4809f98be2943d95c520cc7f65a1 (diff)
downloadarabluatex-022d0fd2c526bd55b0a42510315c5a49dc5f07ac.tar.gz
adapted makefile; all sample files are to be public domain
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/makefile b/makefile
index 1233202..00ef7a0 100644
--- a/makefile
+++ b/makefile
@@ -11,8 +11,7 @@ doc: clean sty
11 makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo 11 makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo
12 lualatex $(pkg).dtx 12 lualatex $(pkg).dtx
13 lualatex $(pkg).dtx 13 lualatex $(pkg).dtx
14 echo "now building the sample documents..." 14 latexmk -outdir=TMP -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' samples/al-Jahiz
15 latexmk -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' -outdir=TMP samples/al-Jahiz
16 mv TMP/*.pdf samples/ 15 mv TMP/*.pdf samples/
17 16
18all: clean sty doc 17all: clean sty doc
@@ -34,8 +33,9 @@ auctex: clean
34 cp $(pkg)*.el ~/.emacs.d/auctex/auto 33 cp $(pkg)*.el ~/.emacs.d/auctex/auto
35 34
36package: clean all 35package: clean all
37 mkdir arabluatex 36 mkdir -p arabluatex/samples/
38 cp *.lua *.ins *.dtx *.md *.pdf arabluatex/ # .bib is in dtx 37 cp *.lua *.ins *.dtx *.md *.pdf arabluatex/ # .bib is in dtx
38 cp samples/*.{tex,pdf} arabluatex/samples/
39 mkdir -p tex/lualatex/arabluatex/ 39 mkdir -p tex/lualatex/arabluatex/
40 cp *.lua *.sty tex/lualatex/arabluatex/ 40 cp *.lua *.sty tex/lualatex/arabluatex/
41 mkdir -p doc/lualatex/arabluatex/samples 41 mkdir -p doc/lualatex/arabluatex/samples
@@ -49,10 +49,10 @@ package: clean all
49clean: 49clean:
50 rm -rf ~/texmf/tex/lualatex/arabluatex/ 50 rm -rf ~/texmf/tex/lualatex/arabluatex/
51 rm -rf ~/.emacs.d/auctex/auto/arabluatex*.el 51 rm -rf ~/.emacs.d/auctex/auto/arabluatex*.el
52 rm -rf tex/ doc/ source/ auto/ _minted*/ 52 rm -rf tex/ doc/ source/ auto/
53 rm -rf arabluatex/ 53 rm -rf arabluatex/
54 rm -rf saved/ TMP/ 54 rm -rf saved/ TMP/
55 find ./samples/ -type f | grep -v ".*tex$$" | xargs /usr/bin/rm -f 55 find ./samples/ | grep -v samples | grep -v ".*tex$$" | xargs rm -rf
56 mkdir saved 56 mkdir saved
57 cp *.{lua,ins,dtx,tex,el} makefile saved # .bib is in dtx 57 cp *.{lua,ins,dtx,tex,el} makefile saved # .bib is in dtx
58 rm *.* 58 rm *.*