Allow make docs to use PYTHON variable (#75559)

The GENERATE_CLI command does not take into account a user overriding
the PYTHON variable.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pull/75567/head
Paul Belanger 3 years ago committed by GitHub
parent 2ba9e35d09
commit 59dd5704ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -299,7 +299,7 @@ linkcheckdocs:
.PHONY: generate_rst .PHONY: generate_rst
generate_rst: lib/ansible/cli/*.py generate_rst: lib/ansible/cli/*.py
mkdir -p ./docs/man/man1/ ; \ mkdir -p ./docs/man/man1/ ; \
$(GENERATE_CLI) --template-file=docs/templates/man.j2 --output-dir=docs/man/man1/ --output-format man lib/ansible/cli/*.py $(PYTHON) $(GENERATE_CLI) --template-file=docs/templates/man.j2 --output-dir=docs/man/man1/ --output-format man lib/ansible/cli/*.py
docs: generate_rst docs: generate_rst

Loading…
Cancel
Save