build: consistently use $(MAKE) when invoking it recursively

Not for the `docker run ... make ...` commands though!

closes https://github.com/zrepl/zrepl/pull/615
This commit is contained in:
Goran Mekić 2022-07-08 13:05:22 +02:00 committed by Christian Schwarz
parent dc03db7423
commit 02b215128e

View File

@ -55,7 +55,7 @@ release: clean
$(MAKE) wrapup-and-checksum
$(MAKE) check-git-clean
ifeq (SIGN, 1)
$(make) sign
$(MAKE) sign
endif
@echo "ZREPL RELEASE ARTIFACTS AVAILABLE IN artifacts/release"
@ -333,12 +333,12 @@ $(ARTIFACTDIR)/go_env.txt:
docs: $(ARTIFACTDIR)/docs
# https://www.sphinx-doc.org/en/master/man/sphinx-build.html
make -C docs \
$(MAKE) -C docs \
html \
BUILDDIR=../artifacts/docs \
SPHINXOPTS="-W --keep-going -n"
docs-clean:
make -C docs \
$(MAKE) -C docs \
clean \
BUILDDIR=../artifacts/docs