aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ct.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-27 11:43:07 +0100
committerLoïc Hoguin <[email protected]>2018-11-27 11:43:07 +0100
commit8d0bf3b30b602b7f81f8d4749c5137440310e51f (patch)
tree8843447a66f5419d031817211eb3f15f0f75ee28 /plugins/ct.mk
parentf07636e66759ecdaff4ee4e9097ecbf88eb6b217 (diff)
downloaderlang.mk-8d0bf3b30b602b7f81f8d4749c5137440310e51f.tar.gz
erlang.mk-8d0bf3b30b602b7f81f8d4749c5137440310e51f.tar.bz2
erlang.mk-8d0bf3b30b602b7f81f8d4749c5137440310e51f.zip
Fix jobserver unavailable warnings
When the $(MAKE) is inside an $(eval $(call ...)) then it needs to be escaped as $$(MAKE). When the $(MAKE) is inside a $(call ...) then I did not figure out a way other than passing it as an argument. When the $(MAKE) is inside many levels of $(call $(call ...)) it's easier to avoid it if at all possible, so I replaced the rebar $(MAKE) call with ./bootstrap. I confirmed it works fine on Windows as well.
Diffstat (limited to 'plugins/ct.mk')
-rw-r--r--plugins/ct.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ct.mk b/plugins/ct.mk
index 3db994d..bc1d0bd 100644
--- a/plugins/ct.mk
+++ b/plugins/ct.mk
@@ -54,7 +54,7 @@ endif
ifneq ($(ALL_APPS_DIRS),)
define ct_app_target
apps-ct-$1: test-build
- $(MAKE) -C $1 ct IS_APP=1
+ $$(MAKE) -C $1 ct IS_APP=1
endef
$(foreach app,$(ALL_APPS_DIRS),$(eval $(call ct_app_target,$(app))))