summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-01-02 15:23:30 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-01-02 15:23:30 +0100
commit15bb449b149ac4b81687dc513b93b7b908290a5f (patch)
tree566b2fb456b911b083360540c491409baa16599d /Makefile
parentbb493cae4bdb591eed9abac68aedcdf156334c18 (diff)
downloadnthash-15bb449b149ac4b81687dc513b93b7b908290a5f.tar.gz
nthash-15bb449b149ac4b81687dc513b93b7b908290a5f.tar.zst
add make release
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