diff options
author | bapt <bapt@FreeBSD.org> | 2015-05-30 17:41:37 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-05-30 17:41:37 +0000 |
commit | d9be45055a40b403e13e26332073697cb0a765f7 (patch) | |
tree | e1acd6b92dd5579ff70cbe33a2e9d5c34def606a /Makefile.inc1 | |
parent | 65c0ca1d1a58a9c61cc3fbeb20703a307c2dc475 (diff) | |
download | FreeBSD-src-d9be45055a40b403e13e26332073697cb0a765f7.zip FreeBSD-src-d9be45055a40b403e13e26332073697cb0a765f7.tar.gz |
Switch to mandoc's version of makewhatis(8), whatis(1), apropos(1) utilities.
This change among other things improve search capabilities over the manpages
allowing fine grain query.
A new build option WITHOUT_MANDOCDB has been added to keep the ancient version
of the database and the tools. The plan is to entirely remove this option before
11.0-RELEASE.
Differential Revision: https://reviews.freebsd.org/D2603
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index e315e22..1cd019b 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1363,6 +1363,16 @@ _kerberos5_bootstrap_tools= \ .ORDER: ${_kerberos5_bootstrap_tools:C/^/${_bt}-/g} .endif +.if ${MK_MANDOCDB} != "no" +_makewhatis= lib/libohash \ + lib/libsqlite3 \ + lib/libmandoc \ + usr.bin/mandoc +${_bt}-usr.bin/mandoc: ${_bt}-lib/libohash ${_bt}-lib/libsqlite3 +.else +_makewhatis=usr.bin/makewhatis +.endif + # Rebuild up-to-date libmd for xinstall ${_bt}-usr.bin/xinstall: ${_bt}-lib/libmd @@ -1383,7 +1393,7 @@ bootstrap-tools: .PHONY ${_awk} \ ${_cat} \ usr.bin/lorder \ - usr.bin/makewhatis \ + ${_makewhatis} \ usr.bin/rpcgen \ ${_sed} \ ${_yacc} \ |