fix manpages script

Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Tibor Vass 2017-06-06 04:59:50 +00:00
parent ed5b663082
commit dc81def89c
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ vendor: vendor.conf
## generate man pages from go source and markdown
.PHONY: manpages
manpages:
scripts/dos/generate-man.sh
scripts/docs/generate-man.sh
## generate documentation YAML files consumed by docs repo
.PHONY: yamldocs

View File

@ -18,7 +18,7 @@ MD2MAN_COMMIT=$(grep -F "$MD2MAN_REPO" vendor.conf | cut -d' ' -f2)
)
# Generate man pages from cobra commands
go build -o /tmp/gen-manpages ./man
go build -o /tmp/gen-manpages github.com/docker/cli/man
/tmp/gen-manpages --root . --target ./man/man1
# Generate legacy pages from markdown