From 4cfc78d306397a24015a53081d2f3e5171b06520 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 30 Jan 2023 15:50:39 +0100 Subject: updated AUTHORS LICENSE README makefile and .tex file --- makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 01482f8..8a85eb2 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,8 @@ pkg := oldstandard SHELL = bash -ver := $(shell grep '\\edef\\pkgver' $(pkg).tex | grep -Eo '[0-9]{1,}\.[0-9]{1,}[a-z]{,1}') +PWD = $(shell pwd) +#ver := $(shell grep '\\edef\\pkgver' $(pkg).tex | grep -Eo '[0-9]{1,}\.[0-9]{1,}[a-z]{,1}') +ver := $(shell grep '\\edef\\pkgver' oldstandard.tex | egrep -o '[0-9]{1,}\.[0-9]{1,}\-?[a-z]?') TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') HOMEDIR := $$HOME LOCALFONTDIR := $(HOMEDIR)/.local/share/fonts @@ -41,6 +43,9 @@ package: doc tar czf $(pkg)-$(ver).tar.gz $(pkg)-$(ver) @echo "$(pkg)-$(ver).tar.gz has been created." +hal: clean + zip -Drq $(PWD)/$(pkg)-$(ver).zip * + clean: @echo "Removing OldStandard .otf files from $(LOCALFONTDIR)..." rm -f $(LOCALFONTDIR)/OldStandard-*.otf -- cgit v1.2.3