summaryrefslogblamecommitdiffhomepage
path: root/pkg/Makefile
blob: 4500684d31415d48131dbebaa7a22bdefba067b4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                         
#!/usr/bin/make

VERSION ?= $(shell grep 'define NXT_VERSION' ../src/nxt_main.h		\
		| sed -e 's/^.*"\(.*\)".*/\1/')

RELEASE ?= 1

default:
	@echo "available targets: rpm"

rpm:
	@cd rpm && VERSION=$(VERSION) RELEASE=$(RELEASE) make all

clean:
	@cd rpm && make clean

.PHONY: default rpm clean