]> Lady’s Gitweb - OldStandard/blobdiff - makefile
updated README
[OldStandard] / makefile
index 01482f8e87e1407629b27e1569fce9402963c7bc..8a85eb217fbfd3de3a4a913b9647bf43861e9e6f 100644 (file)
--- 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
This page took 0.092444 seconds and 4 git commands to generate.