Commit Graph

52 Commits

Author SHA1 Message Date
wollman
fce7468318 Turn off incredibly obnoxious forced -c' option to more'. 1995-01-14 20:09:47 +00:00
ache
02e89bfef1 Use -Tlatin1 instead -Tascii to pass character from
S0ren name without warnings.
1995-01-13 00:42:04 +00:00
joerg
1476f09ff1 argl, better unzip the perl script before installing. :-/ 1995-01-11 09:21:29 +00:00
joerg
af3eea8a29 From our favorite Perl script writer: a new makewhatis, about
15 times faster than the existing sh script.

Submitted by:   Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-10 18:12:50 +00:00
jkh
7843e2ffd5 Remove /usr/gnu from mandatory manpath. 1994-11-22 09:57:42 +00:00
bde
fa6f7683fa Clean up some foreign makefiles a bit, attempting to handle .sh files
more like binaries.  This is hard to do using a general rules because
the natural `.sh:' rule has a null suffix and null suffixes are broken.
(With 1.1.5's make they sometimes work and sometimes cause core dumps.
2.0's make has a botched fixed and they never work.)
1994-11-14 05:57:36 +00:00
bde
13ee96a5b0 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
bde
a51e89e036 Remove stale clone of obj target. 1994-08-28 18:25:55 +00:00
bde
3574d706dd Fixed Makefile for make depend some more. The .depend target was not
being created and config.h depended on Makefile.inc being in the wrong
directory so real dependencies were not being checked.  The "depend"
target was not created either so "make depend" always found work to do.
1994-08-25 08:36:26 +00:00
jkh
131eb557c4 From: Tom Pavel <PAVEL@SLAC.Stanford.EDU>
Subject: man returns 1

In 1.1.5.1, man returns a status of 1 if the lookup succeeds and 0 if
it fails.  Here is a patch for what I believe is a simple oversight:

Submitted by:	jkh
1994-08-24 07:26:23 +00:00
csgr
355e442ca1 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
csgr
aaaa721ec7 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
csgr
d6c35ebf6a Turn globbing on when a section number is specified, this makes things work
properly when /usr/share/man/man?/ contain gzipped unformatted pages.
1994-05-28 20:19:25 +00:00
ache
cc69aed04a Fix catman to produce zipped cats, like man does.
In other (old) case we have both kind of cats at once.
1994-05-23 22:13:36 +00:00
jkh
6c9be493cc Stop toasting folks' /etc/manpath.config files. 1994-05-17 12:50:36 +00:00
rich
4814797387 Add X11R6 to manpath in preprataion for XFree86 3.0. 1994-05-17 11:26:12 +00:00
ats
39f7032a44 Changed the Makefiles for catman and makewhatis that the output from the
sed goes into an obj dir, if it exists, instead of the src dir.
1994-04-13 19:54:43 +00:00
jkh
e6e5f938ed Something bogus happened here; not sure what or how.
Fixed.
1994-03-23 18:50:57 +00:00
jkh
6e1bfcfd99 Make man the default owner, don't bother with sgid. 1994-03-19 22:25:17 +00:00
jkh
aea54be0da Correct pre-installation target. 1994-03-19 22:24:48 +00:00
jkh
e3ee95a9a6 Change group id to man 1994-03-18 11:55:53 +00:00
jkh
32aaf9ffbe Make man sgid bin, not sgid AND suid. There is no reason to make man suid
bin since all you need to do is make the cat dirs group owned and writable
by bin - much less dangerous.
1994-03-16 13:05:31 +00:00
jkh
d8df026f81 New manpage compression support. Only one macro controls compression
now, DO_COMPRESS.  This controls whether or not catpages are compressed or
not (on by default, since little else uses the catpages and those few things
that do can always configure in a `zmore' in place of more or something, and
saving space is more important, IMHO).

Uncompression support is now on by default since that's the only way to support
mixed-mode environments.  If you don't like it, just don't compress your man
pages and it won't be used! :-).  Supports gzip.  You can also compress
the man pages themselves (or gzip them) now and it will work.
1994-03-05 13:48:38 +00:00
jkh
4dde612d38 Try copy if rename of temporary catpage fails. 1993-10-10 01:46:53 +00:00
jkh
0db087358c Handle both signals and errors in child processes, rather than just signals
as before.
1993-10-09 00:48:26 +00:00
jkh
ecb65eda2e Allow ^C to interrupt with some semblance of politeness to cgd. 1993-10-08 02:39:36 +00:00
jkh
904d7fca24 More paranoid dealings with system() 1993-10-08 02:38:15 +00:00
rgrimes
fbddad8d73 Added bsd.prog.mk so that make maninstall would work 1993-09-08 14:23:28 +00:00
nate
649523bc82 Cleaned up the Makefile to look nicer and not require a lot of hacks 1993-08-04 21:00:46 +00:00
alm
5594482bd8 changed BINMODE= 6555 and CATMODE= 0664 1993-07-27 03:28:32 +00:00
alm
9afa6ba644 Added setreuid() calls so that shell escapes work.
The effective ID's need to be set to the real ID's before invoking
a shell for security reasons.
1993-07-27 02:54:46 +00:00
alm
42abc79a15 updated man to use more as the default pager 1993-07-26 19:41:13 +00:00
alm
515569646e changed find . -name '*' to find . -type f 1993-07-24 03:41:41 +00:00
nate
35ed06d6ac Added ${DESTDIR} to all the naked install commands w/out them. 1993-07-23 08:23:19 +00:00
jkh
155ab3e6ec Changes to make `maninstall' work. 1993-07-23 02:58:20 +00:00
jkh
1b2fecea44 Added Christoph Robitschko's catman 1993-07-23 02:36:24 +00:00
nate
0bd6060688 Removed manpath.1 and added CLEANFILES directive to Makefile since it's
made automagically.
1993-07-21 21:37:54 +00:00
nate
a758f79841 Made makewhatis installed as 555 so that people could actually run it. 1993-07-21 21:37:20 +00:00
alm
ed06dc2f77 added mandoc macro support;
each name now generates a separate whatis data base entry
1993-07-21 21:08:32 +00:00
nate
0d60576618 One last thing for making sure it works. 1993-07-21 20:48:37 +00:00
jkh
b2562d9522 Changes to allow man to work with or without obj dirs. 1993-07-21 17:18:04 +00:00
rgrimes
3e57b81cfb The install of manpath.config did not have a ${DESTDIR} in it. These
are needed on all install commands in Makefiles!
1993-07-20 02:13:11 +00:00
jkh
c3590ab711 Added fix from Rich to accept catpages with .0 syntax for backwards
compatability (XFree86 man pages will still be .0'd for awhile).
1993-07-18 22:40:56 +00:00
jkh
1327319bb5 Fixed braindamage. 1993-07-18 05:52:29 +00:00
rgrimes
75053a99b2 Fixed make file for tags target, removed files that are generated by the
Makefile.
1993-07-17 06:20:35 +00:00
rgrimes
00fa8ca47d Removed files that are generated by the Makefile. Fixed Makefile for
make depend so that config.h gets created so make depend does not fail
in other directories.
1993-07-17 06:06:28 +00:00
rgrimes
621b88d227 Fixed make file for tags target, removed files that are generated by the
Makefile.
1993-07-17 06:05:35 +00:00
rgrimes
0ef6292146 Added BINMODE=2555 so that it can write the man pages into /usr/share/man/catx.
This means the man dirs must be owned by group BIN.  I have set up the
distribution building tools to be that way.
1993-07-16 17:51:03 +00:00
jkh
d9664b1b7d Whoops, forgot to add this one. 1993-07-16 06:48:59 +00:00
jkh
8121c0433f Lots of stuff is now configured in Makefile.inc, path to `less' no longer
absolute, less uses "fall off end" flag by default, manpath.config now
properly installed.  Happy now, Rod? :-)
1993-07-16 06:46:42 +00:00