aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2023-01-30 15:50:39 +0100
committerRobert Alessi <alessi@robertalessi.net>2023-01-30 15:50:39 +0100
commit4cfc78d306397a24015a53081d2f3e5171b06520 (patch)
treeeb8b0724cd97b8587e780f81665e9dfbe0153d7c /makefile
parent4f0965fe25a2a7862dffa5dd9fb02e684847c56b (diff)
downloadoldstandard-4cfc78d306397a24015a53081d2f3e5171b06520.tar.gz
updated AUTHORS LICENSE README makefile and .tex file
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefile b/makefile
index 01482f8..8a85eb2 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,8 @@
1pkg := oldstandard 1pkg := oldstandard
2SHELL = bash 2SHELL = bash
3ver := $(shell grep '\\edef\\pkgver' $(pkg).tex | grep -Eo '[0-9]{1,}\.[0-9]{1,}[a-z]{,1}') 3PWD = $(shell pwd)
4#ver := $(shell grep '\\edef\\pkgver' $(pkg).tex | grep -Eo '[0-9]{1,}\.[0-9]{1,}[a-z]{,1}')
5ver := $(shell grep '\\edef\\pkgver' oldstandard.tex | egrep -o '[0-9]{1,}\.[0-9]{1,}\-?[a-z]?')
4TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') 6TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME')
5HOMEDIR := $$HOME 7HOMEDIR := $$HOME
6LOCALFONTDIR := $(HOMEDIR)/.local/share/fonts 8LOCALFONTDIR := $(HOMEDIR)/.local/share/fonts
@@ -41,6 +43,9 @@ package: doc
41 tar czf $(pkg)-$(ver).tar.gz $(pkg)-$(ver) 43 tar czf $(pkg)-$(ver).tar.gz $(pkg)-$(ver)
42 @echo "$(pkg)-$(ver).tar.gz has been created." 44 @echo "$(pkg)-$(ver).tar.gz has been created."
43 45
46hal: clean
47 zip -Drq $(PWD)/$(pkg)-$(ver).zip *
48
44clean: 49clean:
45 @echo "Removing OldStandard .otf files from $(LOCALFONTDIR)..." 50 @echo "Removing OldStandard .otf files from $(LOCALFONTDIR)..."
46 rm -f $(LOCALFONTDIR)/OldStandard-*.otf 51 rm -f $(LOCALFONTDIR)/OldStandard-*.otf