Makefile (1411:f6524442d245) Makefile (1845:5f08b752b1c5)
1#!/usr/bin/make
2
3include ../version
4include shasum.mak
5
6VERSION ?= $(NXT_VERSION)
7RELEASE ?= 1
8
9default:
10 @echo "available targets: dist rpm deb docker npm"
11
12dist:
13 rm -f unit-$(VERSION).tar.gz
14 hg archive unit-$(VERSION).tar.gz \
15 -r $(VERSION) \
16 -p unit-$(VERSION) \
1#!/usr/bin/make
2
3include ../version
4include shasum.mak
5
6VERSION ?= $(NXT_VERSION)
7RELEASE ?= 1
8
9default:
10 @echo "available targets: dist rpm deb docker npm"
11
12dist:
13 rm -f unit-$(VERSION).tar.gz
14 hg archive unit-$(VERSION).tar.gz \
15 -r $(VERSION) \
16 -p unit-$(VERSION) \
17 -X "../.hg*" -X "../pkg/" -X "../docs/"
17 -X "../.hg*" -X "../pkg/" -X "../docs/*.*" -X "../docs/Makefile"
18 $(SHA512SUM) unit-$(VERSION).tar.gz > unit-$(VERSION).tar.gz.sha512
19
20rpm:
21 @cd rpm && VERSION=$(VERSION) RELEASE=$(RELEASE) make all
22
23deb:
24 @cd deb && VERSION=$(VERSION) RELEASE=$(RELEASE) make all
25

--- 15 unchanged lines hidden ---
18 $(SHA512SUM) unit-$(VERSION).tar.gz > unit-$(VERSION).tar.gz.sha512
19
20rpm:
21 @cd rpm && VERSION=$(VERSION) RELEASE=$(RELEASE) make all
22
23deb:
24 @cd deb && VERSION=$(VERSION) RELEASE=$(RELEASE) make all
25

--- 15 unchanged lines hidden ---