summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Vieux <victorvieux@gmail.com>2017-04-12 16:46:36 -0700
committerGitHub <noreply@github.com>2017-04-12 16:46:36 -0700
commitb33bbc79b6f517013010db8506e47fbb07fdb0b1 (patch)
treef6dbbb321e1ef78406a6071c12a7a7db82b2f2ee
parentf14702ba86b18f05ee0eb863f51e665b9fddc8e8 (diff)
parent50e1a16e3958ed3326226ae36bf27feac7435913 (diff)
downloaddocker-b33bbc79b6f517013010db8506e47fbb07fdb0b1.tar.gz
Merge pull request #32583 from mstanleyjones/fix_yaml_script
docs: fix Makefile for yaml docs generation
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b3f839f1a4..78be642b23 100644
--- a/Makefile
+++ b/Makefile
@@ -142,7 +142,7 @@ shell: build ## start a shell inside the build env
$(DOCKER_RUN_DOCKER) bash
yaml-docs-gen: build ## generate documentation YAML files consumed by docs repo
- $(DOCKER_RUN_DOCKER) sh -c 'hack/make.sh yaml-docs-generator && ( cd bundles/latest/yaml-docs-generator; mkdir docs; ./yaml-docs-generator --target $$(pwd)/docs )'
+ $(DOCKER_RUN_DOCKER) sh -c 'hack/make.sh yaml-docs-generator && ( root=$$(pwd); cd bundles/latest/yaml-docs-generator; mkdir docs; ./yaml-docs-generator --root $${root} --target $$(pwd)/docs )'
test: build ## run the unit, integration and docker-py tests
$(DOCKER_RUN_DOCKER) hack/make.sh dynbinary cross test-unit test-integration-cli test-docker-py