summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main.h
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2019-02-22 16:31:44 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2019-02-22 16:31:44 +0300
commit608e09e9def182756e2f1650c6f3416b209fbf58 (patch)
treeb56e435fd0cb36dc2233ee0b843f13f2fcfa9ff1 /src/nxt_main.h
parentc96b2baca50fe2f5c17f96406e6d741e88267921 (diff)
downloadunit-608e09e9def182756e2f1650c6f3416b209fbf58.tar.gz
unit-608e09e9def182756e2f1650c6f3416b209fbf58.tar.bz2
Improvement and unification of version processing in build scripts.
This also eliminates expressions that incompatible with BSD make, thus fixing installation of Node.js module on FreeBSD (broken by dace60fc4926).
Diffstat (limited to 'src/nxt_main.h')
-rw-r--r--src/nxt_main.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nxt_main.h b/src/nxt_main.h
index dc821e07..23c55002 100644
--- a/src/nxt_main.h
+++ b/src/nxt_main.h
@@ -9,10 +9,7 @@
#include <nxt_auto_config.h>
-
-
-#define NXT_VERSION "1.8"
-#define NXT_VERNUM 10800
+#include <nxt_version.h>
#define NXT_SERVER "Unit/" NXT_VERSION