summaryrefslogtreecommitdiffhomepage
path: root/pkg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/Makefile b/pkg/Makefile
index 6001a034..7926606d 100644
--- a/pkg/Makefile
+++ b/pkg/Makefile
@@ -1,8 +1,8 @@
#!/usr/bin/make
-VERSION ?= $(shell grep 'define NXT_VERSION' ../src/nxt_main.h \
- | sed -e 's/^.*"\(.*\)".*/\1/')
+include ../version
+VERSION ?= $(NXT_VERSION)
RELEASE ?= 1
default: