From 041154d5339e42601ed04b6e2a23d53ffaae1022 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 22 Feb 2016 10:06:28 +0100 Subject: initial project version --- makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..1875576 --- /dev/null +++ b/makefile @@ -0,0 +1,32 @@ +pkg=arabluatex + +sty: clean + lualatex $(pkg).ins + +doc: clean sty + lualatex $(pkg).dtx + makeindex -s gind.ist -o $(pkg).ind $(pkg).idx + makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo + lualatex $(pkg).dtx + lualatex $(pkg).dtx + +all: clean sty doc + +package: clean sty + cp ~/texmf/tex/lualatex/arabluatex/$(pkg).sty \ + ~/texmf/tex/lualatex/arabluatex/$(pkg).sty-`date +%s` + cp ~/texmf/tex/lualatex/arabluatex/$(pkg).lua \ + ~/texmf/tex/lualatex/arabluatex/$(pkg).lua-`date +%s` + cp ~/texmf/tex/lualatex/arabluatex/$(pkg)_voc.lua \ + ~/texmf/tex/lualatex/arabluatex/$(pkg)_voc.lua-`date +%s` + cp ~/texmf/tex/lualatex/arabluatex/$(pkg)_novoc.lua \ + ~/texmf/tex/lualatex/arabluatex/$(pkg)_novoc.lua-`date +%s` + cp $(pkg)*.{sty,lua} ~/texmf/tex/lualatex/arabluatex + +clean: + rm -rf saved/ + mkdir saved + cp *.{lua,ins,dtx} makefile saved + rm *.* + cp saved/* . + rm -rf saved/ -- cgit v1.2.3