Makefile: use ${MAKE} for recursive calls

This commit is contained in:
Milo Davis 2018-03-15 13:25:38 -04:00 committed by Grégoire Henry
parent 9ef69b4502
commit cdf7b7061b

View File

@ -41,7 +41,7 @@ doc-html: all
@mkdir -p $$(pwd)/docs/_build/api/odoc @mkdir -p $$(pwd)/docs/_build/api/odoc
@rm -rf $$(pwd)/docs/_build/api/odoc/* @rm -rf $$(pwd)/docs/_build/api/odoc/*
@cp -r $$(pwd)/_build/default/_doc/* $$(pwd)/docs/_build/api/odoc/ @cp -r $$(pwd)/_build/default/_doc/* $$(pwd)/docs/_build/api/odoc/
@make -C docs @${MAKE} -C docs
build-test: build-test:
@jbuilder build @buildtest ${DEV} @jbuilder build @buildtest ${DEV}
@ -77,6 +77,6 @@ clean:
tezos-admin-client \ tezos-admin-client \
tezos-protocol-compiler \ tezos-protocol-compiler \
tezos-alpha-baker tezos-alpha-baker
@-make -C docs clean @-${MAKE} -C docs clean
.PHONY: all test build-deps docker-image clean .PHONY: all test build-deps docker-image clean