diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2018-01-30 17:20:28 +0300 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2018-01-30 17:20:28 +0300 |
commit | 23268a1cd1878122d36d084ac2abe7d37147ae9c (patch) | |
tree | 7d4561cd6d1a3cb196fdb58d3b8be65807b71a68 /pkg/Makefile | |
parent | 9cd4fdbdb78e035254e8094b5cff2155857ab764 (diff) | |
download | unit-23268a1cd1878122d36d084ac2abe7d37147ae9c.tar.gz unit-23268a1cd1878122d36d084ac2abe7d37147ae9c.tar.bz2 |
Introduced docker images building tools.
Diffstat (limited to 'pkg/Makefile')
-rw-r--r-- | pkg/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkg/Makefile b/pkg/Makefile index 3fa96632..5b0a9e97 100644 --- a/pkg/Makefile +++ b/pkg/Makefile @@ -6,7 +6,7 @@ VERSION ?= $(shell grep 'define NXT_VERSION' ../src/nxt_main.h \ RELEASE ?= 1 default: - @echo "available targets: rpm deb" + @echo "available targets: rpm deb docker" rpm: @cd rpm && VERSION=$(VERSION) RELEASE=$(RELEASE) make all @@ -14,8 +14,12 @@ rpm: deb: @cd deb && VERSION=$(VERSION) RELEASE=$(RELEASE) make all +docker: + @cd docker && VERSION=$(VERSION) RELEASE=$(RELEASE) make all + clean: @cd rpm && make clean @cd deb && make clean + @cd docker && make clean -.PHONY: default rpm deb clean +.PHONY: default rpm deb docker clean |