diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-08-29 11:33:34 -0700 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-08-29 11:33:34 -0700 |
commit | 73dc76b0bf87336d5e0a5d8f8c820a0c5e4de364 (patch) | |
tree | 2ccb8737efffad0891b801419523c9bb25efbd01 /auto/modules/python | |
parent | 9d487df10df5000a84c9c1a75fff0cff525d4454 (diff) | |
download | unit-73dc76b0bf87336d5e0a5d8f8c820a0c5e4de364.tar.gz unit-73dc76b0bf87336d5e0a5d8f8c820a0c5e4de364.tar.bz2 |
Separation of module prerequisites for 'all' target in Makefile.
To avoid using sed -i.
Diffstat (limited to 'auto/modules/python')
-rw-r--r-- | auto/modules/python | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/modules/python b/auto/modules/python index b07ed19f..91d0ed79 100644 --- a/auto/modules/python +++ b/auto/modules/python @@ -147,6 +147,8 @@ cat << END >> $NXT_MAKEFILE .PHONY: ${NXT_PYTHON_MODULE} +all: ${NXT_PYTHON_MODULE} + ${NXT_PYTHON_MODULE}: $NXT_BUILD_DIR/nginext.${NXT_PYTHON_MODULE} $NXT_BUILD_DIR/nginext.${NXT_PYTHON_MODULE}: $nxt_objs @@ -154,5 +156,3 @@ $NXT_BUILD_DIR/nginext.${NXT_PYTHON_MODULE}: $nxt_objs $nxt_objs $NXT_PYTHON_LIBS END - -sed -i.bak -e "s/\(all:.*\)/\1 ${NXT_PYTHON_MODULE}/" $NXT_MAKEFILE |