From 0a907a795f4339aa40a934bfd5bbb8658273c9cf Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 24 Jul 2019 14:59:48 +0200 Subject: use pkgver and pkgdate --- makefile | 5 +++-- oldstandard-t.tex | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 8497892..b03424f 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,5 @@ -pkg=oldstandard-t +pkg := oldstandard-t +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 diff --git a/oldstandard-t.tex b/oldstandard-t.tex index d5cc755..a98a70b 100644 --- a/oldstandard-t.tex +++ b/oldstandard-t.tex @@ -88,13 +88,15 @@ BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T} \usepackage[toc]{multitoc} +\edef\pkgver{1.0} +\edef\pkgdate{2019/07/24} \title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop lifted shadow, colback=white, boxrule=.25mm]% {\textsc{Old Standard T}\\ \Large A Unicode Font for Classical and Medieval Studies\\ \large Based on Alexey Kryukov's \emph{Old Standard}\\ - \large v1.0 -- \today}} + \large v\pkgver -- \pkgdate}} \author{Robert Alessi \\ \href{mailto:alessi@robertalessi.net?Subject=arabluatex package}% -- cgit v1.2.3