diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ | |||
1 | pkg=arabluatex | 1 | pkg := arabluatex |
2 | ver := $(shell ltxfileinfo -v $(pkg).dtx|sed -e 's/^v//') | ||
2 | TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') | 3 | TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') |
3 | HOMEDIR := $$HOME | 4 | HOMEDIR := $$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 | ||
53 | clean: | 54 | clean: |
54 | rm -rf $(TEXMFDIR)/tex/lualatex/arabluatex/ | 55 | rm -rf $(TEXMFDIR)/tex/lualatex/arabluatex/ |