svn commit: r353790 - in stable: 11 12
Kyle Evans
kevans at FreeBSD.org
Mon Oct 21 01:27:03 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/12/Makefile
stable/12/Makefile.inc1
Directory Properties:
stable/12/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/11/Makefile
stable/11/Makefile.inc1
Directory Properties:
stable/11/ (props changed)
Modified: stable/12/Makefile
==============================================================================
--- stable/12/Makefile Mon Oct 21 01:24:21 2019 (r353789)
+++ stable/12/Makefile Mon Oct 21 01:27:01 2019 (r353790)
@@ -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: stable/12/Makefile.inc1
==============================================================================
--- stable/12/Makefile.inc1 Mon Oct 21 01:24:21 2019 (r353789)
+++ stable/12/Makefile.inc1 Mon Oct 21 01:27:01 2019 (r353790)
@@ -1423,6 +1423,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