Commit Graph

31 Commits

Author SHA1 Message Date
Ruslan Ermilov
b9ad8c8635 beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
Wolfram Schneider
65c96ef9f6 space typo in last commit 2001-03-30 10:44:29 +00:00
Wolfram Schneider
66eda5d765 * A comment in apropos.sh contains the misspelled word
"locailzed"; it should read "localized".

        *  The "test" operator can be a bit dangerous (e.g., if
           a newbie writes a script named "test" and has it call
           "apropos", which calls "test, ...).

        *  In its use as "whatis", apropos formats the first
           line of the output differently than the following
           lines.  Specifically, it leaves out all but one of
           the spaces that precede the dash in the first line.

Submitted by: Rich Morin <rdm@cfcl.com>
PR:	25126
2001-03-30 10:31:46 +00:00
Ruslan Ermilov
a2fd3702a3 mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:15:20 +00:00
Alexey Zelkin
4a06bf7d45 mdoc cleanup: use .Nm macro correctly, don't non mdoc macro 2000-05-10 13:43:36 +00:00
Andrey A. Chernov
597ccab43e Use manpath -L for locales 1999-11-23 03:11:54 +00:00
Andrey A. Chernov
fb17926b0c Localize it
Submitted by:	phantom
1999-10-30 21:18:52 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Mike Pritchard
2ce66fb320 Various man page cleanup:
- Sort xrefs
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
1999-08-15 09:06:06 +00:00
Wolfram Schneider
1c9a0db841 Added myself as maintainer. 1999-02-09 17:23:03 +00:00
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Mike Pritchard
1364c9e2fc Fix a spelling error. 1996-12-09 07:00:17 +00:00
Mike Pritchard
a66c11682b Convert man page to mdoc format.
Submitted by:	Sandro Sigala <sandro@cat.local.net> as part of PR# 2154
1996-12-09 06:59:17 +00:00
Wolfram Schneider
412467fa26 grep(1) should not parse manpages as arguments.
Now `apropos -xfer' works.
1996-09-27 17:36:50 +00:00
Wolfram Schneider
728999c8b2 Cleanup exit status; 2: syntax error, 0: keyword matched,
$exit_nomatch: no keyword matched. Default value for variable
exit_nomatch is 0 because `man -k' don't like exit status != 0

Detected by: "Stephen J. Roznowski" <sjr@zombie.ncsc.mil>
1996-09-14 23:20:33 +00:00
Wolfram Schneider
5a80fb277e sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
Wolfram Schneider
bfab15f069 Exits 0 on success, and 1 if no keyword matched.
Start $PAGER only if we find a manual page.
1996-07-08 20:03:18 +00:00
Wolfram Schneider
d31934acb9 share the code between apropos and whatis 1996-03-10 18:52:33 +00:00
Wolfram Schneider
d37cc74768 print error messages to stderr
don't fail if search arguments contain spaces
allow programs from $PATH as PAGER
faster
1996-02-25 23:41:46 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Bruce Evans
03e5b81db4 Rewrite and merge some bogus makefiles to create Makefile.shprog. Just
include this in the old makefiles.

I intended to fix only the private maninstall rule but found a lot of
other bogons and bugs:
- strong resistance to installing the program anywhere other than
  ${DESTDIR}/usr/bin (first, ../../Makefile.inc was not included.
  ../Makefile/inc was redundantly included instead.  Second, /usr/bin
  was hard coded).
- the owner, group and permissions were hard coded.
- the man page was installed twice.
- MANDEPEND wasn't necessary.
- calculations to determine the obj directory weren't necessary.
- there were unnecessary private rules for depend, rcsfreeze and tags.
  We don't support the rcsfreeze target.
- there was an extra, bogus, rule for `all'.

The final version uses suffix rules to eliminate the remaining verboseness
involving directories (${.CURDIR}) and to potentially allow multiple
shell programs in one directory.
1995-10-21 14:27:19 +00:00
Bruce Evans
9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Bruce Evans
85b64443ae Use standard clean, cleandir and obj targets.
Don't use $@.

Uniformize the man Makefiles for shell scripts.  It should't take such
large Makefiles to install one script and one man page each.
1994-08-28 18:33:48 +00:00
Geoff Rehmet
fe88cc599b Make these Makefiles work properly when NOMAN is defined.
(I wish they just used bsd.prog.mk)
1994-06-05 21:57:16 +00:00
Geoff Rehmet
67bc1dabe4 Manual pages are now installed via the bsd.man.mk macro, since the
existing arrangement in this makefile doesn't allow for compressed
manual pages.
1994-06-05 20:39:58 +00:00
Nate Williams
3244235258 Added ${DESTDIR} to all the naked install commands w/out them. 1993-07-23 08:23:19 +00:00
Jordan K. Hubbard
47dee7af0b Changes to make `maninstall' work. 1993-07-23 02:58:20 +00:00
Jordan K. Hubbard
caa40a118a Changes to allow man to work with or without obj dirs. 1993-07-21 17:18:04 +00:00
Rodney W. Grimes
9c30b1bfe1 Fixed make file for tags target, removed files that are generated by the
Makefile.
1993-07-17 06:05:35 +00:00
Jordan K. Hubbard
f629c45f00 Newer new man page reader. 1993-07-07 23:07:02 +00:00