summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e39b7d9..f4142d8 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ CFLAGS += -O2 -Wall -Werror
# Debian has the libs but no pkg-config file. Fall back to hard coded
# "-lnettle" if pkg-config fails.
CFLAGS += $(shell pkg-config --cflags --libs nettle 2>/dev/null || echo "-lnettle")
+VERSION := 0.1.4
all: nthash README.html
@@ -37,3 +38,7 @@ install-doc: README.html
clean:
$(RM) -f *.o *~ README.html nthash
+
+release:
+ git archive --format=tar.xz --prefix=nthash-$(VERSION)/ $(VERSION) > nthash-$(VERSION).tar.xz
+ gpg -ab nthash-$(VERSION).tar.xz