Introduced deb packages building tools.

This commit is contained in:
Andrei Belov
2017-10-19 18:23:32 +03:00
parent eabe25d98e
commit 156877f3c9
39 changed files with 1367 additions and 3 deletions

View File

@@ -6,12 +6,16 @@ VERSION ?= $(shell grep 'define NXT_VERSION' ../src/nxt_main.h \
RELEASE ?= 1
default:
@echo "available targets: rpm"
@echo "available targets: rpm deb"
rpm:
@cd rpm && VERSION=$(VERSION) RELEASE=$(RELEASE) make all
deb:
@cd deb && VERSION=$(VERSION) RELEASE=$(RELEASE) make all
clean:
@cd rpm && make clean
@cd deb && make clean
.PHONY: default rpm clean
.PHONY: default rpm deb clean