Makefile: man page: rename containerd.1 to containerd.8

The generated file was incorrectly named containerd.1 and should
be in section 8 (see [MAN-PAGES(7)]: Sections of the manual pages)

This patch fixes the filename and updates references to containerd(1)
to refer to containerd(8).

The generated file itself already had the correct section set in its
header, so didn't need updating.

[MAN-PAGES(7)]: http://man7.org/linux/man-pages/man7/man-pages.7.html

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-04-02 13:43:44 +02:00
parent e852da5855
commit 356782cb47
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
3 changed files with 5 additions and 5 deletions

View File

@ -88,7 +88,7 @@ endif
# Project binaries. # Project binaries.
COMMANDS=ctr containerd containerd-stress COMMANDS=ctr containerd containerd-stress
MANPAGES=ctr.1 containerd.1 containerd-config.1 containerd-config.toml.5 MANPAGES=ctr.1 containerd.8 containerd-config.1 containerd-config.toml.5
ifdef BUILDTAGS ifdef BUILDTAGS
GO_BUILDTAGS = ${BUILDTAGS} GO_BUILDTAGS = ${BUILDTAGS}
@ -214,9 +214,9 @@ mandir:
@mkdir -p man @mkdir -p man
# Kept for backwards compatability # Kept for backwards compatability
genman: man/containerd.1 man/ctr.1 genman: man/containerd.8 man/ctr.1
man/containerd.1: FORCE man/containerd.8: FORCE
@echo "$(WHALE) $@" @echo "$(WHALE) $@"
go run cmd/gen-manpages/main.go containerd man/ go run cmd/gen-manpages/main.go containerd man/

View File

@ -38,4 +38,4 @@ Phil Estes <estesp@gmail.com>
## SEE ALSO ## SEE ALSO
ctr(1), containerd(1), containerd-config.toml(5) ctr(1), containerd(8), containerd-config.toml(5)

View File

@ -142,4 +142,4 @@ Phil Estes <estesp@gmail.com>
## SEE ALSO ## SEE ALSO
ctr(1), containerd-config(1), containerd(1) ctr(1), containerd-config(1), containerd(8)