svn commit: r353790 - in stable: 11 12
Kyle Evans
kevans at FreeBSD.org
Mon Oct 21 01:27:02 UTC 2019
Author: kevans
Date: Mon Oct 21 01:27:01 2019
New Revision: 353790
URL: https://svnweb.freebsd.org/changeset/base/353790
Log:
MFC r352929: Add a top-level makeman target
Abstracting away the details of how src.conf(5) is generated is arguably a
good thing; do so with a top-level makeman target.
Modified:
stable/11/Makefile
stable/11/Makefile.inc1
Directory Properties:
stable/11/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/12/Makefile
stable/12/Makefile.inc1
Directory Properties:
stable/12/ (props changed)
Modified: stable/11/Makefile
==============================================================================
--- stable/11/Makefile Mon Oct 21 01:24:21 2019 (r353789)
+++ stable/11/Makefile Mon Oct 21 01:27:01 2019 (r353790)
@@ -33,6 +33,7 @@
# targets - Print a list of supported TARGET/TARGET_ARCH pairs
# for world and kernel targets.
# toolchains - Build a toolchain for all world and kernel targets.
+# makeman - Regenerate src.conf(5)
# sysent - (Re)build syscall entries from syscalls.master.
# xdev - xdev-build + xdev-install for the architecture
# specified with XDEV and XDEV_ARCH.
@@ -127,7 +128,7 @@ TGTS= all all-man buildenv buildenvvars buildkernel bu
reinstallkernel reinstallkernel.debug \
installworld kernel-toolchain libraries lint maninstall \
obj objlink rerelease showconfig tags toolchain update \
- sysent \
+ makeman sysent \
_worldtmp _legacy _bootstrap-tools _cleanobj _obj \
_build-tools _compiler-metadata _cross-tools _includes _libraries \
build32 distribute32 install32 buildsoft distributesoft installsoft \
Modified: stable/11/Makefile.inc1
==============================================================================
--- stable/11/Makefile.inc1 Mon Oct 21 01:24:21 2019 (r353789)
+++ stable/11/Makefile.inc1 Mon Oct 21 01:27:01 2019 (r353790)
@@ -1132,6 +1132,10 @@ packageworld: .PHONY
. endif
.endfor
+makeman: .PHONY
+ ${_+_}cd ${.CURDIR}/tools/build/options; sh makeman > \
+ ${.CURDIR}/share/man/man5/src.conf.5
+
_sysent_dirs= sys/kern
_sysent_dirs+= sys/compat/freebsd32
_sysent_dirs+= sys/i386/ibcs2
More information about the svn-src-stable-11
mailing list