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.
This commit is contained in:
parent
01a0b1a4c2
commit
c1d4532062
3
Makefile
3
Makefile
@ -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 buildworld \
|
||||
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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user