diff options
author | Robert Alessi <alessi@robertalessi.net> | 2017-04-06 10:54:05 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2017-04-06 10:54:05 +0200 |
commit | 022d0fd2c526bd55b0a42510315c5a49dc5f07ac (patch) | |
tree | b73249b9574915b8b39c8be8a5241e358e1c4c92 /makefile | |
parent | 05515f95afbf4809f98be2943d95c520cc7f65a1 (diff) | |
download | arabluatex-022d0fd2c526bd55b0a42510315c5a49dc5f07ac.tar.gz |
adapted makefile; all sample files are to be public domain
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 | ||
18 | all: clean sty doc | 17 | all: 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 | ||
36 | package: clean all | 35 | package: 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 | |||
49 | clean: | 49 | clean: |
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 *.* |