Commit Graph

11 Commits

Author SHA1 Message Date
jdolecek 534dd161ea If called without arguments, parse /etc/man.conf and regenerate the whatis
databases specified there. By default, the individual databases
are actually generated by forked children in this case, for
performance reasons. This feature can be switched off by new -f flag.
If the configuration file can't be parsed or doesn't contain any
_whatdb entries, the code falls back to /usr/share/man as before.

Added -C, which allows to specify alternate configuration file. This
  is compatible with apropos(1) and whatis(1) flag of same name.

Update manpage accordingly and document behaviour a bit better.
Also add a HISTORY section, hopefully correct (done using CVS logs).

This solves toolchain/5231 by Tim Rightnour and bin/7696 by Allen Briggs.
2002-03-08 21:59:07 +00:00
tv a328e34106 Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)
2002-01-29 10:20:28 +00:00
thorpej 65709d507f Allow this to be built as a host program. 2001-11-29 23:50:12 +00:00
tron ceb9bcabf8 Replace shell script for creating whatis.db database with a C program
which is a little bit faster.
1999-09-25 21:17:37 +00:00
lukem 868ca23db4 remove NOPROG (nothing uses it). however, set MKOBJ=no if appropriate 1999-02-13 23:53:56 +00:00
lukem 3c17756202 build objdir for manpage. from Dave Huang <khym@bga.com> in [bin/4294] 1997-10-20 02:39:50 +00:00
hubertf c9bf407da0 Add makewhatis.8.
Closes PR 1809 by Robert Dobbs <banshee@gabriella.resort.com>
1997-10-17 20:37:59 +00:00
lukem e8b9c15144 rcsid fascism 1997-10-13 09:28:10 +00:00
christos d59123b39b - Makefile cleanups 1997-03-24 22:15:37 +00:00
thorpej 7f9ea0f2ed Use ${INSTALL}. 1996-10-18 05:45:01 +00:00
cgd 103f2ee5d5 moved here from old location in src/usr.bin/man 1993-12-21 03:28:00 +00:00