File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -113,12 +113,12 @@ benchmark-c-files:
113
113
# make benchmark-random-c RANDOM_SELECTION_SIZE=10
114
114
# /
115
115
benchmark-random-c : $(NODE_MODULES )
116
- $(QUIET ) make -s list-random-lib-pkgs PACKAGES_PATTERN=' manifest.json' | while read -r pkg; do \
116
+ $(QUIET ) $( MAKE ) -f $( this_file ) -s list-random-lib-pkgs PACKAGES_PATTERN=' manifest.json' | while read -r pkg; do \
117
117
echo " " ; \
118
118
echo " Running benchmark: $$ pkg" ; \
119
119
NODE_ENV=" $( NODE_ENV_BENCHMARK) " \
120
120
NODE_PATH=" $( NODE_PATH_BENCHMARK) " \
121
- make benchmark-c BENCHMARKS_FILTER=" $$ pkg/.*" || exit 1; \
121
+ $( MAKE ) -f $( this_file ) benchmark-c BENCHMARKS_FILTER=" $$ pkg/.*" || exit 1; \
122
122
done
123
123
124
124
.PHONY : benchmark-random-c
Original file line number Diff line number Diff line change @@ -87,22 +87,22 @@ benchmark-javascript-files: $(NODE_MODULES)
87
87
# /
88
88
benchmark-random-javascript : $(NODE_MODULES )
89
89
ifeq ($(BUILD_NATIVE_ADDONS ) , true)
90
- $(QUIET) make -s list-random-lib-pkgs | while read -r pkg; do \
90
+ $(QUIET) $(MAKE) -f $(this_file) -s list-random-lib-pkgs | while read -r pkg; do \
91
91
echo ""; \
92
92
echo "Running benchmark: $$pkg"; \
93
93
pattern=$$(echo "$$pkg" | sed -n -e 's/^.*\(@stdlib\)/\1/p') \
94
- NODE_ADDONS_PATTERN="$$pattern" make install-node-addons; \
94
+ NODE_ADDONS_PATTERN="$$pattern" $(MAKE) -f $(this_file) install-node-addons; \
95
95
NODE_ENV="$(NODE_ENV_BENCHMARK)" \
96
96
NODE_PATH="$(NODE_PATH_BENCHMARK)" \
97
- make benchmark-javascript BENCHMARKS_FILTER="$$pkg/.*" || exit 1; \
97
+ $(MAKE) -f $(this_file) benchmark-javascript BENCHMARKS_FILTER="$$pkg/.*" || exit 1; \
98
98
done
99
99
else
100
- $(QUIET) make -s list-random-lib-pkgs | while read -r pkg; do \
100
+ $(QUIET) $(MAKE) -f $(this_file) -s list-random-lib-pkgs | while read -r pkg; do \
101
101
echo ""; \
102
102
echo "Running benchmark: $$pkg"; \
103
103
NODE_ENV="$(NODE_ENV_BENCHMARK)" \
104
104
NODE_PATH="$(NODE_PATH_BENCHMARK)" \
105
- make benchmark-javascript BENCHMARKS_FILTER="$$pkg/.*" || exit 1; \
105
+ $(MAKE) -f $(this_file) benchmark-javascript BENCHMARKS_FILTER="$$pkg/.*" || exit 1; \
106
106
done
107
107
endif
108
108
Original file line number Diff line number Diff line change @@ -113,12 +113,12 @@ examples-c-files:
113
113
# make examples-random-c RANDOM_SELECTION_SIZE=10
114
114
# /
115
115
examples-random-c : $(NODE_MODULES )
116
- $(QUIET ) make -s list-random-lib-pkgs PACKAGES_PATTERN=' binding.gyp' | while read -r pkg; do \
116
+ $(QUIET ) $( MAKE ) -f $( this_file ) -s list-random-lib-pkgs PACKAGES_PATTERN=' binding.gyp' | while read -r pkg; do \
117
117
echo " " ; \
118
118
echo " Running example: $$ pkg" ; \
119
119
NODE_ENV=" $( NODE_ENV_EXAMPLES) " \
120
120
NODE_PATH=" $( NODE_PATH_EXAMPLES) " \
121
- make examples-c EXAMPLES_FILTER=" $$ pkg/.*" || exit 1; \
121
+ $( MAKE ) -f $( this_file ) examples-c EXAMPLES_FILTER=" $$ pkg/.*" || exit 1; \
122
122
done
123
123
124
124
.PHONY : examples-random-c
Original file line number Diff line number Diff line change @@ -85,12 +85,12 @@ examples-javascript-files: $(NODE_MODULES)
85
85
# make examples-random-javascript RANDOM_SELECTION_SIZE=10
86
86
# /
87
87
examples-random-javascript : $(NODE_MODULES )
88
- $(QUIET ) make -s list-random-lib-pkgs | while read -r pkg; do \
88
+ $(QUIET ) $( MAKE ) -f $( this_file ) -s list-random-lib-pkgs | while read -r pkg; do \
89
89
echo " " ; \
90
90
echo " Running example: $$ pkg" ; \
91
91
NODE_ENV=" $( NODE_ENV_EXAMPLES) " \
92
92
NODE_PATH=" $( NODE_PATH_EXAMPLES) " \
93
- make examples-javascript EXAMPLES_FILTER=" $$ pkg/.*" || exit 1; \
93
+ $( MAKE ) -f $( this_file ) examples-javascript EXAMPLES_FILTER=" $$ pkg/.*" || exit 1; \
94
94
done
95
95
96
96
.PHONY : examples-random-javascript
Original file line number Diff line number Diff line change 30
30
# make list-pkgs-unpublished LIST_PKGS_STANDALONES_DIR="$PWD/lib/node_modules/\@stdlib/utils"
31
31
# /
32
32
list-pkgs-unpublished :
33
- $(QUIET ) pkgs=$$(make --no-print-directory list-pkgs-standalones | tr '\n' ' ' ) ; \
33
+ $(QUIET ) pkgs=$$($( MAKE ) -f $( this_file ) --no-print-directory list-pkgs-standalones | tr '\n' ' ') ; \
34
34
unpublished_pkgs=" " ; \
35
35
for pkg in $$ pkgs; do \
36
36
if [ " $$ {pkg#*_tools}" != " $$ pkg" ]; then \
@@ -42,4 +42,4 @@ list-pkgs-unpublished:
42
42
done ; \
43
43
echo " $$ unpublished_pkgs"
44
44
45
- .PHONY : list-pkgs-unpublished
45
+ .PHONY : list-pkgs-unpublished
Original file line number Diff line number Diff line change @@ -33,6 +33,6 @@ TRAVIS_HEADLESS_BROWSER ?= xvfb-run
33
33
# make test-browsers-travis
34
34
# /
35
35
test-browsers-travis : $(NODE_MODULES )
36
- $(QUIET ) $(TRAVIS_HEADLESS_BROWSER ) make -f $(this_file ) test-browsers
36
+ $(QUIET ) $(TRAVIS_HEADLESS_BROWSER ) $( MAKE ) -f $(this_file ) test-browsers
37
37
38
38
.PHONY : test-browsers-travis
You can’t perform that action at this time.
0 commit comments