From 724790d0317fdd5698e7fd8125e188903c90a9cc Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 24 Jul 2019 19:43:51 +0200 Subject: new variable in makefile --- makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 466b1b9..5fde0a0 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,5 @@ -pkg=arabluatex +pkg := arabluatex +ver := $(shell ltxfileinfo -v $(pkg).dtx|sed -e 's/^v//') TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') HOMEDIR := $$HOME @@ -48,7 +49,7 @@ package: clean all mkdir -p source/lualatex/arabluatex/ cp *.ins *.dtx *.tex source/lualatex/arabluatex/ # .bib is in dtx zip -r arabluatex.tds.zip tex doc source - tar czf arabluatex.tar.gz arabluatex.tds.zip arabluatex/ + tar czf arabluatex-$(ver).tar.gz arabluatex.tds.zip arabluatex/ clean: rm -rf $(TEXMFDIR)/tex/lualatex/arabluatex/ -- cgit v1.2.3