From dc81def89cc46d664bbd427b54992f8650bd63c2 Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Tue, 6 Jun 2017 04:59:50 +0000 Subject: [PATCH] fix manpages script Signed-off-by: Tibor Vass --- Makefile | 2 +- scripts/docs/generate-man.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dda6df868f..dbb3d3bfef 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/scripts/docs/generate-man.sh b/scripts/docs/generate-man.sh index e955130559..28fea4e1ce 100755 --- a/scripts/docs/generate-man.sh +++ b/scripts/docs/generate-man.sh @@ -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