ensure cli dir exists before saving files to it

This commit is contained in:
Brian Coca 2018-02-13 17:43:26 -05:00
parent 5a0f4f0646
commit 28015d8ae9

View file

@ -74,6 +74,7 @@ clean:
# TODO: make generate_man output dir cli option
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
keywords: $(FORMATTER) ../templates/playbooks_keywords.rst.j2