summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/go
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 /auto/modules/go
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 '')
-rw-r--r--auto/modules/go2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/go b/auto/modules/go
index e9b2321d..62c3743f 100644
--- a/auto/modules/go
+++ b/auto/modules/go
@@ -103,7 +103,7 @@ ${NXT_GO}:
${NXT_GO}-install: ${NXT_GO}-install-build
-${NXT_GO}-install-src: ${NXT_BUILD_DIR}/nxt_unit_version.h
+${NXT_GO}-install-src: ${NXT_VERSION_H}
install -d \$(DESTDIR)\$(NXT_GO_DST)/src/nginx/unit
install -p -m644 ./src/*.h ./build/*.h ./src/go/unit/* \
./src/nxt_unit.c ./src/nxt_lvlhsh.c ./src/nxt_murmur_hash.c \