summaryrefslogtreecommitdiffhomepage
path: root/pkg/Makefile
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2020-04-16 18:27:26 +0300
committerAndrei Belov <defan@nginx.com>2020-04-16 18:27:26 +0300
commit74f32d26b91f49d3392605e81c1597b375890b60 (patch)
treeadfc67dfc86461441bde65512f745ce27bd6ea28 /pkg/Makefile
parent2ff9df10ef1df43c935c870175e52473dad2c21a (diff)
parent9877087756144d3bdf343d0d4e91e1efbcc62c93 (diff)
downloadunit-1.17.0-1.tar.gz
unit-1.17.0-1.tar.bz2
Merged with the default branch.1.17.0-1
Diffstat (limited to 'pkg/Makefile')
-rw-r--r--pkg/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/Makefile b/pkg/Makefile
index 7926606d..15ff075d 100644
--- a/pkg/Makefile
+++ b/pkg/Makefile
@@ -1,6 +1,7 @@
#!/usr/bin/make
include ../version
+include shasum.mak
VERSION ?= $(NXT_VERSION)
RELEASE ?= 1
@@ -14,6 +15,7 @@ dist:
-r $(VERSION) \
-p unit-$(VERSION) \
-X "../.hg*" -X "../pkg/" -X "../docs/"
+ $(SHA512SUM) unit-$(VERSION).tar.gz > unit-$(VERSION).tar.gz.sha512
rpm:
@cd rpm && VERSION=$(VERSION) RELEASE=$(RELEASE) make all
@@ -32,5 +34,7 @@ clean:
@cd deb && make clean
@cd docker && make clean
@cd npm && make clean
+ rm -f unit-$(VERSION).tar.gz
+ rm -f unit-$(VERSION).tar.gz.sha512
.PHONY: default rpm deb docker npm clean