summaryrefslogtreecommitdiffhomepage
path: root/pkg/Makefile
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2018-01-30 17:20:28 +0300
committerKonstantin Pavlov <thresh@nginx.com>2018-01-30 17:20:28 +0300
commit23268a1cd1878122d36d084ac2abe7d37147ae9c (patch)
tree7d4561cd6d1a3cb196fdb58d3b8be65807b71a68 /pkg/Makefile
parent9cd4fdbdb78e035254e8094b5cff2155857ab764 (diff)
downloadunit-23268a1cd1878122d36d084ac2abe7d37147ae9c.tar.gz
unit-23268a1cd1878122d36d084ac2abe7d37147ae9c.tar.bz2
Introduced docker images building tools.
Diffstat (limited to 'pkg/Makefile')
-rw-r--r--pkg/Makefile8
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