aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-07-24 19:43:51 +0200
committerRobert Alessi <alessi@robertalessi.net>2019-07-24 19:43:51 +0200
commit724790d0317fdd5698e7fd8125e188903c90a9cc (patch)
treee0624a7fc99e3bbc48f8f700e85426fcc901afcf
parent52024ce627a68d77247edf58778801acaed3611e (diff)
downloadarabluatex-724790d0317fdd5698e7fd8125e188903c90a9cc.tar.gz
new variable in makefile
-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/