Skip to content

Commit d1c5349

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]> (cherry picked from commit 356782c) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 3a4acfb commit d1c5349

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
@@ -87,7 +87,7 @@ endif
8787

8888
# Project binaries.
8989
COMMANDS=ctr containerd containerd-stress
90-
MANPAGES=ctr.1 containerd.1 containerd-config.1 containerd-config.toml.5
90+
MANPAGES=ctr.1 containerd.8 containerd-config.1 containerd-config.toml.5
9191

9292
ifdef BUILDTAGS
9393
GO_BUILDTAGS = ${BUILDTAGS}
@@ -209,9 +209,9 @@ mandir:
209209
@mkdir -p man
210210

211211
# Kept for backwards compatability
212-
genman: man/containerd.1 man/ctr.1
212+
genman: man/containerd.8 man/ctr.1
213213

214-
man/containerd.1: FORCE
214+
man/containerd.8: FORCE
215215
@echo "$(WHALE) $@"
216216
go run cmd/gen-manpages/main.go containerd man/
217217

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
@@ -140,4 +140,4 @@ Phil Estes <[email protected]>
140140

141141
## SEE ALSO
142142

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

0 commit comments

Comments
 (0)