summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEitan Adler <grimreaper@users.noreply.github.com>2018-05-25 05:30:14 +0200
committeransibot <ansibot@users.noreply.github.com>2018-05-25 05:30:14 +0200
commit7847b1492cc4b7b17c8c54d54f4935a6a2e73cc0 (patch)
tree98c08b97ffe5d7c644bd246c54cec8a37e73aa47 /Makefile
parentAdd a 'releasever' parameter for dnf. Fixes #33314. (#37493) (diff)
downloadansible-7847b1492cc4b7b17c8c54d54f4935a6a2e73cc0.tar.xz
ansible-7847b1492cc4b7b17c8c54d54f4935a6a2e73cc0.zip
Use $(MAKE) instead of raw "make" (#39588)
This Makefile uses non-standard constructs. As such it can only be parsed by GNU make, which is often installed as 'gmake' instead of 'make'. Using $(MAKE) ensures the same version of make gets called that is used to execute the top level.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2e37bfccb3..82798a788f 100644
--- a/Makefile
+++ b/Makefile
@@ -377,12 +377,12 @@ deb-src-upload: deb-src
.PHONY: epub
epub:
- (cd docs/docsite/; CPUS=$(CPUS) make epub)
+ (cd docs/docsite/; CPUS=$(CPUS) $(MAKE) epub)
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
.PHONY: webdocs
webdocs:
- (cd docs/docsite/; CPUS=$(CPUS) make docs)
+ (cd docs/docsite/; CPUS=$(CPUS) $(MAKE) docs)
.PHONY: generate_rst
generate_rst: lib/ansible/cli/*.py
@@ -391,7 +391,7 @@ generate_rst: lib/ansible/cli/*.py
docs: generate_rst
- make $(MANPAGES)
+ $(MAKE) $(MANPAGES)
.PHONY: alldocs
alldocs: docs webdocs