diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -11,6 +11,9 @@ 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..." | ||
15 | latexmk -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' -outdir=TMP samples/al-Jahiz | ||
16 | mv TMP/*.pdf samples/ | ||
14 | 17 | ||
15 | all: clean sty doc | 18 | all: clean sty doc |
16 | 19 | ||
@@ -35,8 +38,9 @@ package: clean all | |||
35 | cp *.lua *.ins *.dtx *.md *.pdf arabluatex/ # .bib is in dtx | 38 | cp *.lua *.ins *.dtx *.md *.pdf arabluatex/ # .bib is in dtx |
36 | mkdir -p tex/lualatex/arabluatex/ | 39 | mkdir -p tex/lualatex/arabluatex/ |
37 | cp *.lua *.sty tex/lualatex/arabluatex/ | 40 | cp *.lua *.sty tex/lualatex/arabluatex/ |
38 | mkdir -p doc/lualatex/arabluatex/ | 41 | mkdir -p doc/lualatex/arabluatex/samples |
39 | cp *.{pdf,el} doc/lualatex/arabluatex/ | 42 | cp *.{pdf,el} doc/lualatex/arabluatex/ |
43 | cp samples/*.{tex,pdf} doc/lualatex/arabluatex/samples | ||
40 | mkdir -p source/lualatex/arabluatex/ | 44 | mkdir -p source/lualatex/arabluatex/ |
41 | cp *.ins *.dtx *.tex source/lualatex/arabluatex/ # .bib is in dtx | 45 | cp *.ins *.dtx *.tex source/lualatex/arabluatex/ # .bib is in dtx |
42 | zip -r arabluatex.tds.zip tex doc source | 46 | zip -r arabluatex.tds.zip tex doc source |
@@ -45,9 +49,10 @@ package: clean all | |||
45 | clean: | 49 | clean: |
46 | rm -rf ~/texmf/tex/lualatex/arabluatex/ | 50 | rm -rf ~/texmf/tex/lualatex/arabluatex/ |
47 | rm -rf ~/.emacs.d/auctex/auto/arabluatex*.el | 51 | rm -rf ~/.emacs.d/auctex/auto/arabluatex*.el |
48 | rm -rf tex/ doc/ source/ auto/ | 52 | rm -rf tex/ doc/ source/ auto/ _minted*/ |
49 | rm -rf arabluatex/ | 53 | rm -rf arabluatex/ |
50 | rm -rf saved/ | 54 | rm -rf saved/ TMP/ |
55 | find ./samples/ -type f | grep -v ".*tex$$" | xargs /usr/bin/rm -f | ||
51 | mkdir saved | 56 | mkdir saved |
52 | 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 |
53 | rm *.* | 58 | rm *.* |