X-Git-Url: https://git.ladys.computer/OldStandard/blobdiff_plain/fb0d26a824957897937a33033f1d321251ae03f6..a4a53f936d09d1e4a09018c7eaa14b157c639bc0:/makefile diff --git a/makefile b/makefile index 8497892..1748e0a 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,5 @@ -pkg=oldstandard-t +pkg := oldstandard +ver := $(shell grep '\\edef\\pkgver' $(pkg).tex | grep -Eo '[0-9]?\.[0-9]?') TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') HOMEDIR := $$HOME @@ -14,7 +15,7 @@ package: clean doc mkdir $(pkg) cp *.{txt,md,tex,pdf} $(pkg) cp otf/*.otf $(pkg) - tar czf $(pkg).tar.gz $(pkg) + tar czf $(pkg)-$(ver).tar.gz $(pkg) clean: git clean -df