diff options
author | Alexander Borisov <alexander.borisov@nginx.com> | 2018-10-23 13:06:44 +0300 |
---|---|---|
committer | Alexander Borisov <alexander.borisov@nginx.com> | 2018-10-23 13:06:44 +0300 |
commit | 780181412623c0dc9232fc7f56055b6e3312a319 (patch) | |
tree | 517920aacc44de60f204f516a9066aa8a3094328 /pkg/Makefile | |
parent | 0e76769c1be43fed1ad1ce32c90ca56b84af903a (diff) | |
download | unit-780181412623c0dc9232fc7f56055b6e3312a319.tar.gz unit-780181412623c0dc9232fc7f56055b6e3312a319.tar.bz2 |
Added ability to publish Node.js module.
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 f5cfd3c2..6001a034 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: dist rpm deb docker" + @echo "available targets: dist rpm deb docker npm" dist: rm -f unit-$(VERSION).tar.gz @@ -24,9 +24,13 @@ deb: docker: @cd docker && VERSION=$(VERSION) RELEASE=$(RELEASE) make all +npm: + @cd npm && VERSION=$(VERSION) RELEASE=$(RELEASE) make all + clean: @cd rpm && make clean @cd deb && make clean @cd docker && make clean + @cd npm && make clean -.PHONY: default rpm deb docker clean +.PHONY: default rpm deb docker npm clean |