ensure cli dir exists before saving files to it

(cherry picked from commit 28015d8ae9)
pull/39005/head
Brian Coca 7 years ago committed by Toshio Kuratomi
parent ed473d792b
commit 16f48b539f

@ -74,6 +74,7 @@ clean:
# TODO: make generate_man output dir cli option # TODO: make generate_man output dir cli option
cli: $(GENERATE_CLI) cli: $(GENERATE_CLI)
mkdir -p rst/cli
PYTHONPATH=../../lib $(GENERATE_CLI) --template-file=../templates/cli_rst.j2 --output-dir=rst/cli/ --output-format rst ../../lib/ansible/cli/*.py PYTHONPATH=../../lib $(GENERATE_CLI) --template-file=../templates/cli_rst.j2 --output-dir=rst/cli/ --output-format rst ../../lib/ansible/cli/*.py
keywords: $(FORMATTER) ../templates/playbooks_keywords.rst.j2 keywords: $(FORMATTER) ../templates/playbooks_keywords.rst.j2

Loading…
Cancel
Save