diff options
| author | joerg <joerg@NetBSD.org> | 2012-02-07 19:13:24 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2012-02-07 19:13:24 +0000 |
| commit | 18810962631d525750aec80666e10b0923913cc7 (patch) | |
| tree | 4e5f8aa4b099ccd05b83b5a4022bb131f624c14c /libexec | |
| parent | 8013333d41cea7d56410ed3f5a418ab2f868cea7 (diff) | |
Import the new apropos/whatis.
This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.
The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libexec/Makefile b/libexec/Makefile index a69dfaa880d..83364a0e0b6 100644 --- a/libexec/Makefile +++ b/libexec/Makefile @@ -1,12 +1,16 @@ -# $NetBSD: Makefile,v 1.60 2011/04/15 18:05:45 elric Exp $ +# $NetBSD: Makefile,v 1.61 2012/02/07 19:13:31 joerg Exp $ # @(#)Makefile 8.1 (Berkeley) 6/4/93 .include <bsd.own.mk> SUBDIR= atrun \ - comsat fingerd ftpd getNAME getty httpd identd ld.aout_so \ - ld.elf_so lfs_cleanerd mail.local makekey makewhatis rexecd \ + comsat fingerd ftpd getty httpd identd ld.aout_so \ + ld.elf_so lfs_cleanerd mail.local makekey rexecd \ rlogind rshd rpc.rquotad rpc.rstatd rpc.rusersd rpc.rwalld \ rpc.sprayd talkd telnetd tftpd utmp_update +.if ${MKMAKEMANDB} == "no" +SUBDIR+= getNAME makewhatis +.endif + .include <bsd.subdir.mk> |
