Commit Graph

34 Commits

Author SHA1 Message Date
christos ea32f51527 Fix MKRUMP = no build 2014-12-13 14:16:48 +00:00
pooka 77e862601f Move rump kernel man pages from various sources to sys/rump
namely:
  * src/lib is used only when building for POSIX'y platforms, but
    the man pages have their use for all platforms
  * rumpuser.3 is a function of the rump kernel, not one of the of
    the POSIX'y implementation hosted in src/lib/librumpuser

no functional change
2014-11-09 17:39:37 +00:00
christos 2b043c75b6 eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
mbalmer 0298fb9957 build and install intro(3lua) and intro(9lua) 2013-10-26 08:23:38 +00:00
joerg 410d0f4380 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.
2012-02-07 19:13:24 +00:00
lukem 92b4cccb78 Modify "makedb" so that WHATISDBDIR be used to specify the directory
to operate in (defaults to /usr/share/man)
2004-02-09 07:58:01 +00:00
lukem 78f3b1bf18 use uname=${BINOWN} gname=${BINGRP} instead of uname=root gname=wheel 2004-02-09 06:52:34 +00:00
wiz 538e6e3e1e Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
and fix references.
Per a discussion on source-changes around Sep 14 2003.
2003-10-14 14:59:03 +00:00
lukem f134f3dc38 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
2003-07-18 08:26:01 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
lukem 144b55005f Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.
2002-12-23 06:52:48 +00:00
matt a26c601aad Include <bsd.sys.mk> so CAT is defined in the UNPRIVED= USETOOLS=no case. 2002-06-15 01:46:16 +00:00
mason c86d6704bc Use the new cat(1) locking functionality - should solve PR toolchain/16963.
If all goes well, will submit a batch of pull-up requests for netbsd-1-6
presently to bring these additions and fixes into 1.6.
2002-06-10 18:47:12 +00:00
perry 637fddfedf if UNPRIVED, generate (synthetically) a metadata log for whatis.db 2001-11-24 21:39:20 +00:00
tron 6b7726b754 Use new "makewhatis" program to create whatis.db database. 1999-09-25 21:18:02 +00:00
ross 8c4b6f5dd0 Run makewhatis.sh out of the source tree, rather than the makewhatis
out of DESTDIR. Besides eliminating a ordering, this is needed because
the new all-singing-all-dancing domestic/Makefile runs makewhatis for
you .. but it might not be in DESTDIR if only domestic is being installed.
1999-02-26 11:03:08 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
tv 2a0a609947 Don't try to get at ${DESTDIR} inside /usr/libexec/makewhatis; instead,
supply ${DESTDIR} as part of the command line argument in
src/share/man/Makefile, and use that modified $MANPATH to find
makewhatis.sed.
1998-05-21 11:40:11 +00:00
ross 7c7c171d13 Add David Brownlee's new intro pages, with editing. (PR #534[23])
Also, while here, expand apparently incorrectly .Dd month abbreviations.
(I thought about doing this in tmac/doc-common...heh...that would have
allowed a possible reverse map back to abbreviations.)
1998-04-22 07:14:30 +00:00
tron 87dd1a9ddb Let "makewhatis.sh" handle "${DESTDIR}", fixes PR misc/5037. 1998-03-21 23:47:47 +00:00
mrg 9a6b94bd72 merge lite-2. 1997-10-19 12:55:52 +00:00
lukem 90cee8eaa6 rcsid fascism 1997-10-13 11:21:19 +00:00
mycroft 544c782a19 Move makewhatis.sed into man0, and split the Makefile. 1997-05-09 14:31:24 +00:00
mycroft 908bee20db Use bsd.prog.mk, to deal with FILES. 1997-03-27 10:45:57 +00:00
christos 3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
perry f37edba165 Added man9 to SUBDIRs 1995-11-25 21:26:28 +00:00
cgd cdf1056390 do makedb in DESTDIR/... 1994-02-09 08:00:16 +00:00
cgd adaf3036a9 convert to use makewhatis; eventually will need to use 'catman' 1994-02-07 05:10:30 +00:00
mycroft 5b11c06adf Add RCS indentifiers. 1993-07-31 15:27:53 +00:00
cgd 00224c37e8 actually do subdirs; they aren't missing! 1993-04-09 09:43:03 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00