mirror of https://github.com/docker/cli.git
Merge pull request #158 from tiborvass/fix-manpages-script
Fix manpages script
This commit is contained in:
commit
51b00f966e
2
Makefile
2
Makefile
|
@ -47,7 +47,7 @@ vendor: vendor.conf
|
||||||
## generate man pages from go source and markdown
|
## generate man pages from go source and markdown
|
||||||
.PHONY: manpages
|
.PHONY: manpages
|
||||||
manpages:
|
manpages:
|
||||||
scripts/dos/generate-man.sh
|
scripts/docs/generate-man.sh
|
||||||
|
|
||||||
## generate documentation YAML files consumed by docs repo
|
## generate documentation YAML files consumed by docs repo
|
||||||
.PHONY: yamldocs
|
.PHONY: yamldocs
|
||||||
|
|
|
@ -18,7 +18,7 @@ MD2MAN_COMMIT=$(grep -F "$MD2MAN_REPO" vendor.conf | cut -d' ' -f2)
|
||||||
)
|
)
|
||||||
|
|
||||||
# Generate man pages from cobra commands
|
# 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
|
/tmp/gen-manpages --root . --target ./man/man1
|
||||||
|
|
||||||
# Generate legacy pages from markdown
|
# Generate legacy pages from markdown
|
||||||
|
|
Loading…
Reference in New Issue