Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 36bd288162aed2baefd41d942bca46083e2f1973)
Signed-off-by: Tibor Vass <tibor@docker.com>
| ... | ... |
@@ -118,7 +118,7 @@ shell: build ## start a shell inside the build env |
| 118 | 118 |
$(DOCKER_RUN_DOCKER) bash |
| 119 | 119 |
|
| 120 | 120 |
yaml-docs-gen: build ## generate documentation YAML files consumed by docs repo |
| 121 |
- $(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 )' |
|
| 121 |
+ $(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 )'
|
|
| 122 | 122 |
|
| 123 | 123 |
test: build ## run the unit, integration and docker-py tests |
| 124 | 124 |
$(DOCKER_RUN_DOCKER) hack/make.sh dynbinary cross test-unit test-integration-cli test-docker-py |