Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2019 15:10:35 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352929 - head
Message-ID:  <201910011510.x91FAZxT046847@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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	\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910011510.x91FAZxT046847>