aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-07-24 14:59:48 +0200
committerRobert Alessi <alessi@robertalessi.net>2019-07-24 14:59:48 +0200
commit0a907a795f4339aa40a934bfd5bbb8658273c9cf (patch)
treeabffce1fd630042e6cb1bb457a184e8b0e70e3ca /makefile
parentdbb1ce8183ef875f252b7fceaf86c98a5e5bd84f (diff)
downloadoldstandard-0a907a795f4339aa40a934bfd5bbb8658273c9cf.tar.gz
use pkgver and pkgdate
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefile b/makefile
index 8497892..b03424f 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,5 @@
1pkg=oldstandard-t 1pkg := oldstandard-t
2ver := $(shell grep '\\edef\\pkgver' $(pkg).tex | grep -Eo '[0-9]?\.[0-9]?')
2TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') 3TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME')
3HOMEDIR := $$HOME 4HOMEDIR := $$HOME
4 5
@@ -14,7 +15,7 @@ package: clean doc
14 mkdir $(pkg) 15 mkdir $(pkg)
15 cp *.{txt,md,tex,pdf} $(pkg) 16 cp *.{txt,md,tex,pdf} $(pkg)
16 cp otf/*.otf $(pkg) 17 cp otf/*.otf $(pkg)
17 tar czf $(pkg).tar.gz $(pkg) 18 tar czf $(pkg)-$(ver).tar.gz $(pkg)
18 19
19clean: 20clean:
20 git clean -df 21 git clean -df