From a294038c83a631813af3708be3b986ef6a6e3468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 15 May 2015 10:20:12 +0300 Subject: Replace make with $(MAKE) for BSD compatibility --- plugins/bootstrap.mk | 4 ++-- plugins/ci.mk | 2 +- plugins/cover.mk | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/bootstrap.mk b/plugins/bootstrap.mk index 6494180..6637520 100644 --- a/plugins/bootstrap.mk +++ b/plugins/bootstrap.mk @@ -365,13 +365,13 @@ ifeq ($(wildcard src/),) $(error Error: src/ directory does not exist) endif ifndef t - $(error Usage: make new t=TEMPLATE n=NAME) + $(error Usage: $(MAKE) new t=TEMPLATE n=NAME) endif ifndef tpl_$(t) $(error Unknown template) endif ifndef n - $(error Usage: make new t=TEMPLATE n=NAME) + $(error Usage: $(MAKE) new t=TEMPLATE n=NAME) endif $(call render_template,tpl_$(t),src/$(n).erl) diff --git a/plugins/ci.mk b/plugins/ci.mk index e5df48e..4f338b3 100644 --- a/plugins/ci.mk +++ b/plugins/ci.mk @@ -53,7 +53,7 @@ $(KERL): help:: @printf "%s\n" "" \ "Continuous Integration targets:" \ - " ci Run 'make tests' on all configured Erlang versions." \ + " ci Run '$(MAKE) tests' on all configured Erlang versions." \ "" \ "The CI_OTP variable must be defined with the Erlang versions" \ "that must be tested. For example: CI_OTP = OTP-17.3.4 OTP-17.5.3" diff --git a/plugins/cover.mk b/plugins/cover.mk index e94dcd4..bd94051 100644 --- a/plugins/cover.mk +++ b/plugins/cover.mk @@ -46,7 +46,7 @@ endif ifdef COVER ifneq ($(COVER_REPORT_DIR),) tests:: - @$(MAKE) make --no-print-directory cover-report + @$(MAKE) --no-print-directory cover-report endif endif -- cgit v1.2.3