Welcome! Log In Create A New Profile

Advanced

[njs] Configure: refactored NJS_VER.

Dmitry Volyntsev
October 29, 2020 09:00AM
details: https://hg.nginx.org/njs/rev/ff14a0253f15
branches:
changeset: 1548:ff14a0253f15
user: Jakub Jirutka <jakub@jirutka.cz>
date: Thu Oct 22 01:51:31 2020 +0200
description:
Configure: refactored NJS_VER.

diffstat:

auto/make | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 19d2a8d68e3a -r ff14a0253f15 auto/make
--- a/auto/make Thu Oct 29 12:46:19 2020 +0000
+++ b/auto/make Thu Oct 22 01:51:31 2020 +0200
@@ -21,6 +21,8 @@ NJS_STATIC_LINK = ${AR} -r -c
NJS_LINK = ${CC} ${NJS_LD_OPT}
NJS_CFLAGS = ${NJS_CFLAGS} ${NJS_CC_OPT} ${CFLAGS}

+NJS_VER = $(grep NJS_VERSION src/njs.h | sed -e 's/.*"\(.*\)".*/\1/')
+
default: $NJS_DEFAULT_TARGET

NJS_LIB_INCS = -Isrc -I$NJS_BUILD_DIR
@@ -241,12 +243,11 @@ ts_test: ts
tsc ./test/ts/test.ts

dist:
- NJS_VER=`grep NJS_VERSION src/njs.h | sed -e 's/.*"\(.*\)".*/\1/'`; \\
- rm -rf njs-\$\${NJS_VER} \\
- && hg archive njs-\$\${NJS_VER}.tar.gz \\
- -p njs-\$\${NJS_VER} \\
+ rm -rf njs-\$(NJS_VER) \\
+ && hg archive njs-\$(NJS_VER).tar.gz \\
+ -p njs-\$(NJS_VER) \\
-X ".hg*" \\
- && echo njs-\$\${NJS_VER}.tar.gz done
+ && echo njs-\$(NJS_VER).tar.gz done
END


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Configure: refactored NJS_VER.

Dmitry Volyntsev 112 October 29, 2020 09:00AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready