aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefile b/makefile
index 466b1b9..5fde0a0 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,5 @@
1pkg=arabluatex 1pkg := arabluatex
2ver := $(shell ltxfileinfo -v $(pkg).dtx|sed -e 's/^v//')
2TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') 3TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME')
3HOMEDIR := $$HOME 4HOMEDIR := $$HOME
4 5
@@ -48,7 +49,7 @@ package: clean all
48 mkdir -p source/lualatex/arabluatex/ 49 mkdir -p source/lualatex/arabluatex/
49 cp *.ins *.dtx *.tex source/lualatex/arabluatex/ # .bib is in dtx 50 cp *.ins *.dtx *.tex source/lualatex/arabluatex/ # .bib is in dtx
50 zip -r arabluatex.tds.zip tex doc source 51 zip -r arabluatex.tds.zip tex doc source
51 tar czf arabluatex.tar.gz arabluatex.tds.zip arabluatex/ 52 tar czf arabluatex-$(ver).tar.gz arabluatex.tds.zip arabluatex/
52 53
53clean: 54clean:
54 rm -rf $(TEXMFDIR)/tex/lualatex/arabluatex/ 55 rm -rf $(TEXMFDIR)/tex/lualatex/arabluatex/