[njs] Unifying makefile target names.

Dmitry Volyntsev xeioex at nginx.com
Mon Jul 15 17:23:30 UTC 2019


details:   https://hg.nginx.org/njs/rev/18396fcfd53b
branches:  
changeset: 1050:18396fcfd53b
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Mon Jul 15 19:20:55 2019 +0300
description:
Unifying makefile target names.

diffstat:

 auto/expect |  4 ++--
 auto/make   |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r d1fb99f23174 -r 18396fcfd53b auto/expect
--- a/auto/expect	Mon Jul 15 18:46:31 2019 +0300
+++ b/auto/expect	Mon Jul 15 19:20:55 2019 +0300
@@ -20,7 +20,7 @@ fi
 if [ $nxt_found = yes -a $NXT_HAVE_READLINE = YES ]; then
     cat << END >> $NXT_MAKEFILE
 
-njs_expect_test:	njs njs/test/njs_expect_test.exp
+expect_test:	njs njs/test/njs_expect_test.exp
 	INPUTRC=njs/test/inputrc PATH=$NXT_BUILD_DIR:\$(PATH) \
             expect -f njs/test/njs_expect_test.exp
 END
@@ -30,7 +30,7 @@ else
 
     cat << END >> $NXT_MAKEFILE
 
-njs_expect_test:
+expect_test:
 	@echo "Skipping expect tests"
 END
 
diff -r d1fb99f23174 -r 18396fcfd53b auto/make
--- a/auto/make	Mon Jul 15 18:46:31 2019 +0300
+++ b/auto/make	Mon Jul 15 19:20:55 2019 +0300
@@ -244,7 +244,7 @@ unit_test: $NXT_BUILD_DIR/nxt_auto_confi
 	$NXT_BUILD_DIR/njs_unit_test
 	$NXT_BUILD_DIR/njs_interactive_test
 
-test: njs_expect_test unit_test
+test: expect_test unit_test
 
 benchmark: $NXT_BUILD_DIR/nxt_auto_config.h \\
 	$NXT_BUILD_DIR/njs_benchmark


More information about the nginx-devel mailing list