From 16f48b539f88b29eb4b3f7448af80fe9d26341e9 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 13 Feb 2018 17:43:26 -0500 Subject: [PATCH] ensure cli dir exists before saving files to it (cherry picked from commit 28015d8ae9831c272d16ce0ae2a57ccff3b445c7) --- docs/docsite/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docsite/Makefile b/docs/docsite/Makefile index 4711faad7ce..ae4c42de2f6 100644 --- a/docs/docsite/Makefile +++ b/docs/docsite/Makefile @@ -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