Skip to content

Commit 356782c

Browse files
committed
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 <[email protected]>
1 parent e852da5 commit 356782c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ endif
8888

8989
# Project binaries.
9090
COMMANDS=ctr containerd containerd-stress
91-
MANPAGES=ctr.1 containerd.1 containerd-config.1 containerd-config.toml.5
91+
MANPAGES=ctr.1 containerd.8 containerd-config.1 containerd-config.toml.5
9292

9393
ifdef BUILDTAGS
9494
GO_BUILDTAGS = ${BUILDTAGS}
@@ -214,9 +214,9 @@ mandir:
214214
@mkdir -p man
215215

216216
# Kept for backwards compatability
217-
genman: man/containerd.1 man/ctr.1
217+
genman: man/containerd.8 man/ctr.1
218218

219-
man/containerd.1: FORCE
219+
man/containerd.8: FORCE
220220
@echo "$(WHALE) $@"
221221
go run cmd/gen-manpages/main.go containerd man/
222222

docs/man/containerd-config.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ Phil Estes <[email protected]>
3838

3939
## SEE ALSO
4040

41-
ctr(1), containerd(1), containerd-config.toml(5)
41+
ctr(1), containerd(8), containerd-config.toml(5)

docs/man/containerd-config.toml.5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ Phil Estes <[email protected]>
142142

143143
## SEE ALSO
144144

145-
ctr(1), containerd-config(1), containerd(1)
145+
ctr(1), containerd-config(1), containerd(8)

0 commit comments

Comments
 (0)