git: e6379a2c9546 - main - man: Install more man pages unconditionally
Fernando Apesteguía
fernape at FreeBSD.org
Fri Aug 6 16:39:11 UTC 2021
The branch main has been updated by fernape (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=e6379a2c954698be466f5b4481a924b3a0074cb4
commit e6379a2c954698be466f5b4481a924b3a0074cb4
Author: Fernando Apesteguía <fernape at FreeBSD.org>
AuthorDate: 2021-08-06 16:33:31 +0000
Commit: Fernando Apesteguía <fernape at FreeBSD.org>
CommitDate: 2021-08-06 16:34:07 +0000
man: Install more man pages unconditionally
Add more manual pages which were not spotted previously in 0a0f7486413c
Ideally to be MFH'ed with:
8539518055d0 - Remove manpages from OLD_FILES
8b487b8292e4 - Fix bsd.subdir.mk-related issues after 0a0f7486413c
f6043a672135 - ObsoleteFiles.inc: Remove manpages from OLD_FILES
0a0f7486413c - man: Build manpages for all architectures
There is at least one pending issue when building with -DNO_ROOT.
Reported by: ceri@
MFH: 4 weeks
Discussed with: wosch
Differential Revision: https://reviews.freebsd.org/D31018
---
share/man/man5/Makefile | 4 ++--
share/man/man8/Makefile | 4 ++--
share/man/man9/Makefile | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile
index 2083993b0795..e1b765346689 100644
--- a/share/man/man5/Makefile
+++ b/share/man/man5/Makefile
@@ -107,8 +107,8 @@ MAN+= pf.conf.5 \
pf.os.5
.endif
-.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
+# This makes more sense for amd64 and i386 but
+# we decide to install all manpages in all architectures
_boot.config.5= boot.config.5
-.endif
.include <bsd.prog.mk>
diff --git a/share/man/man8/Makefile b/share/man/man8/Makefile
index 1e61c79d12b9..1257f3ab97bf 100644
--- a/share/man/man8/Makefile
+++ b/share/man/man8/Makefile
@@ -35,10 +35,10 @@ MLINKS+=yp.8 NIS.8 \
yp.8 YP.8
.endif
-.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64"
+# This makes more sense for aarch 64 and amd64
+# we decide to install all manpages in all architectures
_uefi.8= uefi.8
MLINKS+=uefi.8 efi.8
-.endif
.include <bsd.prog.mk>
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index b2f1451a79d7..d6650a2538f7 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -2398,7 +2398,8 @@ MLINKS+=zone.9 uma.9 \
zone.9 uma_zone_set_warning.9 \
zone.9 uma_zsecond_create.9
-.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
+# This makes more sense for amd64 and i386 but
+# we decide to install all manpages in all architectures
_superio.9= superio.9
MLINKS+=superio.9 superio_devid.9 \
superio.9 superio_dev_disable.9 \
@@ -2415,6 +2416,5 @@ MLINKS+=superio.9 superio_devid.9 \
superio.9 superio_revid.9 \
superio.9 superio_vendor.9 \
superio.9 superio_write.9
-.endif
.include <bsd.prog.mk>
More information about the dev-commits-src-main
mailing list