diff options
author | Loïc Hoguin <[email protected]> | 2015-05-15 10:20:12 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-05-15 10:20:12 +0300 |
commit | a294038c83a631813af3708be3b986ef6a6e3468 (patch) | |
tree | 5622f1415f8cec55af6f840c95b95efed039f705 /plugins | |
parent | 1c630fb7765815d7229d68c8edf5ffd37bcd2785 (diff) | |
download | erlang.mk-a294038c83a631813af3708be3b986ef6a6e3468.tar.gz erlang.mk-a294038c83a631813af3708be3b986ef6a6e3468.tar.bz2 erlang.mk-a294038c83a631813af3708be3b986ef6a6e3468.zip |
Replace make with $(MAKE) for BSD compatibility
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bootstrap.mk | 4 | ||||
-rw-r--r-- | plugins/ci.mk | 2 | ||||
-rw-r--r-- | plugins/cover.mk | 2 |
3 files changed, 4 insertions, 4 deletions
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 |