diff options
author | Christian Hesse <mail@eworm.de> | 2014-01-02 15:23:30 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-01-02 15:23:30 +0100 |
commit | 15bb449b149ac4b81687dc513b93b7b908290a5f (patch) | |
tree | 566b2fb456b911b083360540c491409baa16599d /Makefile | |
parent | bb493cae4bdb591eed9abac68aedcdf156334c18 (diff) | |
download | nthash-15bb449b149ac4b81687dc513b93b7b908290a5f.tar.gz nthash-15bb449b149ac4b81687dc513b93b7b908290a5f.tar.zst |
add make release
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |