svn commit: r352929 - head
Kyle Evans
kevans at FreeBSD.org
Tue Oct 1 15:10:35 UTC 2019
Author: kevans
Date: Tue Oct 1 15:10:35 2019
New Revision: 352929
URL: https://svnweb.freebsd.org/changeset/base/352929
Log:
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:
head/Makefile
head/Makefile.inc1
Modified: head/Makefile
==============================================================================
--- head/Makefile Tue Oct 1 14:56:31 2019 (r352928)
+++ head/Makefile Tue Oct 1 15:10:35 2019 (r352929)
@@ -34,6 +34,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 TARGET and TARGET_ARCH.
@@ -132,7 +133,7 @@ TGTS= all all-man buildenv buildenvvars buildkernel bu
reinstallkernel reinstallkernel.debug \
installworld kernel-toolchain libraries maninstall \
obj objlink showconfig tags toolchain update \
- sysent \
+ makeman sysent \
_worldtmp _legacy _bootstrap-tools _cleanobj _obj \
_build-tools _build-metadata _cross-tools _includes _libraries \
build32 distribute32 install32 buildsoft distributesoft installsoft \
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Tue Oct 1 14:56:31 2019 (r352928)
+++ head/Makefile.inc1 Tue Oct 1 15:10:35 2019 (r352929)
@@ -1465,6 +1465,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/compat/cloudabi32 \
More information about the svn-src-all
mailing list