From 50e1a16e3958ed3326226ae36bf27feac7435913 Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Wed, 29 Mar 2017 15:07:16 -0700 Subject: [PATCH] docs: fix Makefile for yaml docs generation Signed-off-by: Tibor Vass (cherry picked from commit 36bd288162aed2baefd41d942bca46083e2f1973) Signed-off-by: Tibor Vass Signed-off-by: Misty Stanley-Jones --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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