mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Make manpages in a conatiner.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
771cf83807
commit
7004f219f5
3 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@ set -e
|
|||
debDate="$(date --rfc-2822)"
|
||||
|
||||
# if go-md2man is available, pre-generate the man pages
|
||||
./man/generate.sh || true
|
||||
make manpages || true
|
||||
# TODO decide if it's worth getting go-md2man in _each_ builder environment to avoid this
|
||||
|
||||
builderDir="contrib/builder/deb/${PACKAGE_ARCH}"
|
||||
|
|
|
@ -51,7 +51,7 @@ set -e
|
|||
rpmDate="$(date +'%a %b %d %Y')"
|
||||
|
||||
# if go-md2man is available, pre-generate the man pages
|
||||
./man/generate.sh || true
|
||||
make manpages || true
|
||||
# TODO decide if it's worth getting go-md2man in _each_ builder environment to avoid this
|
||||
|
||||
# Convert the CHANGELOG.md file into RPM changelog format
|
||||
|
|
|
@ -60,7 +60,7 @@ bundle_ubuntu() {
|
|||
cp contrib/completion/fish/docker.fish "$DIR/etc/fish/completions/"
|
||||
|
||||
# Include man pages
|
||||
man/generate.sh
|
||||
make manpages
|
||||
manRoot="$DIR/usr/share/man"
|
||||
mkdir -p "$manRoot"
|
||||
for manDir in man/man?; do
|
||||
|
|
Loading…
Reference in a new issue