X-Git-Url: https://git.ladys.computer/OldStandard/blobdiff_plain/fb0d26a824957897937a33033f1d321251ae03f6..0e957add674d833c5c2f5f6c215f14e8b2f6e994:/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