head	1.19;
access;
symbols
	RELENG_4_11_0_RELEASE:1.16.2.3
	RELENG_4_11:1.16.2.3.0.4
	RELENG_4_11_BP:1.16.2.3
	RELENG_4_10_0_RELEASE:1.16.2.3
	RELENG_4_10:1.16.2.3.0.2
	RELENG_4_10_BP:1.16.2.3
	RELENG_4_9_0_RELEASE:1.16.2.2
	RELENG_4_9:1.16.2.2.0.12
	RELENG_4_9_BP:1.16.2.2
	RELENG_4_8_0_RELEASE:1.16.2.2
	RELENG_4_8:1.16.2.2.0.10
	RELENG_4_8_BP:1.16.2.2
	RELENG_4_7_0_RELEASE:1.16.2.2
	RELENG_4_7:1.16.2.2.0.8
	RELENG_4_7_BP:1.16.2.2
	RELENG_4_6_2_RELEASE:1.16.2.2
	RELENG_4_6_1_RELEASE:1.16.2.2
	RELENG_4_6_0_RELEASE:1.16.2.2
	RELENG_4_6:1.16.2.2.0.6
	RELENG_4_6_BP:1.16.2.2
	RELENG_4_5_0_RELEASE:1.16.2.2
	RELENG_4_5:1.16.2.2.0.4
	RELENG_4_5_BP:1.16.2.2
	RELENG_4_4_0_RELEASE:1.16.2.2
	RELENG_4_4:1.16.2.2.0.2
	RELENG_4_4_BP:1.16.2.2
	RELENG_4_3_0_RELEASE:1.16
	RELENG_4_3:1.16.0.4
	RELENG_4_3_BP:1.16
	RELENG_4_2_0_RELEASE:1.16
	RELENG_4_1_1_RELEASE:1.16
	PRE_SMPNG:1.16
	RELENG_4_1_0_RELEASE:1.16
	RELENG_3_5_0_RELEASE:1.14
	RELENG_4_0_0_RELEASE:1.16
	RELENG_4:1.16.0.2
	RELENG_4_BP:1.16
	RELENG_3_4_0_RELEASE:1.14
	RELENG_3_3_0_RELEASE:1.14
	RELENG_3_2_PAO:1.14.0.6
	RELENG_3_2_PAO_BP:1.14
	RELENG_3_2_0_RELEASE:1.14
	RELENG_3_1_0_RELEASE:1.14
	RELENG_3:1.14.0.4
	RELENG_3_BP:1.14
	RELENG_2_2_8_RELEASE:1.14
	RELENG_3_0_0_RELEASE:1.14
	RELENG_2_2_7_RELEASE:1.14
	RELENG_2_2_6_RELEASE:1.14
	RELENG_2_2_5_RELEASE:1.14
	RELENG_2_2_2_RELEASE:1.14
	RELENG_2_2_1_RELEASE:1.14
	RELENG_2_2_0_RELEASE:1.14
	RELENG_2_1_7_RELEASE:1.12.4.3
	RELENG_2_1_6_1_RELEASE:1.12.4.3
	RELENG_2_1_6_RELEASE:1.12.4.3
	RELENG_2_2:1.14.0.2
	RELENG_2_2_BP:1.14
	RELENG_2_1_5_RELEASE:1.12.4.3
	RELENG_2_1_0_RELEASE:1.12
	RELENG_2_1_0:1.12.0.4
	RELENG_2_1_0_BP:1.12
	RELENG_2_0_5_RELEASE:1.12
	RELENG_2_0_5:1.12.0.2
	RELENG_2_0_5_BP:1.12
	RELENG_2_0_5_ALPHA:1.12
	RELEASE_2_0:1.10
	BETA_2_0:1.10
	ALPHA_2_0:1.9.0.2
	MOVED_NEWCVS:1.9
	FINAL_1_1_5:1.9
	ALPHA_1_1_5:1.9
	FINAL_1_1:1.6
	GAMMA_1_1:1.6
	BETA_1_1:1.6.0.2
	BP_BETA_1_1:1.6
	FINAL_1_0:1.6
	EPSILON_1_0:1.6
	GAMMA_1_0:1.6
	BETA_1_0:1.6
	ALPHA_1_0:1.2
	man_1_1:1.1.1.1
	man:1.1.1;
locks; strict;
comment	@# @;


1.19
date	2002.11.18.10.11.22;	author ru;	state dead;
branches;
next	1.18;

1.18
date	2001.04.07.11.21.18;	author ru;	state Exp;
branches;
next	1.17;

1.17
date	2001.03.27.14.59.02;	author ru;	state Exp;
branches;
next	1.16;

1.16
date	99.08.27.23.36.10;	author peter;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	99.02.09.17.23.01;	author wosch;	state Exp;
branches;
next	1.14;

1.14
date	96.05.22.00.57.37;	author wosch;	state Exp;
branches;
next	1.13;

1.13
date	96.05.12.21.02.02;	author wosch;	state Exp;
branches;
next	1.12;

1.12
date	95.02.15.22.52.50;	author joerg;	state Exp;
branches
	1.12.4.1;
next	1.11;

1.11
date	95.01.10.18.12.49;	author joerg;	state Exp;
branches;
next	1.10;

1.10
date	94.11.14.05.57.36;	author bde;	state Exp;
branches;
next	1.9;

1.9
date	94.04.13.19.54.43;	author ats;	state Exp;
branches;
next	1.8;

1.8
date	94.03.19.22.24.48;	author jkh;	state Exp;
branches;
next	1.7;

1.7
date	94.03.05.13.48.32;	author jkh;	state Exp;
branches;
next	1.6;

1.6
date	93.08.04.21.00.46;	author nate;	state Exp;
branches;
next	1.5;

1.5
date	93.07.23.08.23.17;	author nate;	state Exp;
branches;
next	1.4;

1.4
date	93.07.21.21.37.20;	author nate;	state Exp;
branches;
next	1.3;

1.3
date	93.07.21.17.17.59;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	93.07.17.06.20.06;	author rgrimes;	state Exp;
branches;
next	1.1;

1.1
date	93.07.07.23.06.58;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.07.07.23.06.59;	author jkh;	state Exp;
branches;
next	;

1.12.4.1
date	96.05.29.22.36.28;	author jkh;	state Exp;
branches;
next	1.12.4.2;

1.12.4.2
date	96.06.05.02.41.11;	author jkh;	state Exp;
branches;
next	1.12.4.3;

1.12.4.3
date	96.06.23.20.30.02;	author wosch;	state Exp;
branches;
next	;

1.16.2.1
date	2001.04.25.12.03.52;	author ru;	state Exp;
branches;
next	1.16.2.2;

1.16.2.2
date	2001.04.25.14.04.13;	author ru;	state Exp;
branches;
next	1.16.2.3;

1.16.2.3
date	2003.12.13.16.01.42;	author des;	state dead;
branches;
next	;


desc
@@


1.19
log
@Install /usr/libexec/makewhatis.local and /usr/libexec/catman.local.
This has slipped through the cracks of The Great Perl Script Rewrite.

Repocopied by:	joe
@
text
@# $FreeBSD: src/gnu/usr.bin/man/makewhatis/Makefile,v 1.18 2001/04/07 11:21:18 ru Exp $
MAINTAINER= wosch

SCRIPTS=makewhatis.perl makewhatis.local.sh
MAN=	makewhatis.1 makewhatis.local.8

libexecdir=/usr/libexec
LINKS=${libexecdir}/makewhatis.local ${libexecdir}/catman.local 
SCRIPTSDIR_makewhatis.local.sh=	${libexecdir}
MLINKS=	makewhatis.local.8 catman.local.8

.include <bsd.prog.mk>
@


1.18
log
@beforeinstall -> SCRIPTS.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/man/makewhatis/Makefile,v 1.17 2001/03/27 14:59:02 ru Exp $
@


1.17
log
@MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/man/makewhatis/Makefile,v 1.16 1999/08/27 23:36:10 peter Exp $
d4 1
a5 1
MLINKS=	makewhatis.local.8 catman.local.8
d9 2
a10 8

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${.CURDIR}/makewhatis.perl ${DESTDIR}${BINDIR}/makewhatis
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${.CURDIR}/makewhatis.local.sh \
	    ${DESTDIR}${libexecdir}/makewhatis.local

@


1.16
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d4 1
a4 2
MAN1=	makewhatis.1
MAN8=	makewhatis.local.8
@


1.16.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/man/makewhatis/Makefile,v 1.16 1999/08/27 23:36:10 peter Exp $
d4 2
a5 1
MAN=	makewhatis.1 makewhatis.local.8
@


1.16.2.2
log
@MFC: Introduce and use SCRIPTS knob.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/man/makewhatis/Makefile,v 1.16.2.1 2001/04/25 12:03:52 ru Exp $
a3 1
SCRIPTS=makewhatis.perl makewhatis.local.sh
d5 1
d9 8
a16 2
SCRIPTSDIR_makewhatis.local.sh=	${libexecdir}
MLINKS=	makewhatis.local.8 catman.local.8
@


1.16.2.3
log
@Retire the Perl implementation of makewhatis(1).
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/man/makewhatis/Makefile,v 1.16.2.2 2001/04/25 14:04:13 ru Exp $
@


1.15
log
@Added myself as maintainer.
@
text
@d1 1
a1 1
#	$Id$
@


1.14
log
@New option -append: teach makewhatis to only add records, instead
of clobbering the entire database.

sort options in alphabetic order.

install manpage makewhatis.local.8
@
text
@d1 3
@


1.13
log
@Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286

Submitted by: invalid opcode <coredump@@nervosa.com>

makewhatis.local - start makewhatis(1) only for file systems
                   physically mounted on the system
Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
your NFS server -- all clients start makewhatis at the same time!
So use this wrapper instead calling makewhatis directly.

Pointed out by: Bruce
@
text
@d2 2
a3 1
# MAN8=	makewhatis.local.8
@


1.12
log
@Wolfram now also submitted a man page for this.

Submitted by:	Wolfram Schneider <wosch@@cs.tu-berlin.de>
@
text
@d2 4
d10 4
@


1.12.4.1
log
@Merge from HEAD, except:

	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.
@
text
@a1 5
MAN8=	makewhatis.local.8
MLINKS=	makewhatis.local.8 catman.local.8

libexecdir=/usr/libexec
LINKS=${libexecdir}/makewhatis.local ${libexecdir}/catman.local 
a5 4
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${.CURDIR}/makewhatis.local.sh \
	    ${DESTDIR}${libexecdir}/makewhatis.local

@


1.12.4.2
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@d2 5
d11 4
@


1.12.4.3
log
@Merge from HEAD.
@
text
@a1 5
MAN8=	makewhatis.local.8
MLINKS=	makewhatis.local.8 catman.local.8

libexecdir=/usr/libexec
LINKS=${libexecdir}/makewhatis.local ${libexecdir}/catman.local 
a5 4
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${.CURDIR}/makewhatis.local.sh \
	    ${DESTDIR}${libexecdir}/makewhatis.local

@


1.11
log
@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>
@
text
@d1 1
a1 1
NOMAN=	noman
@


1.10
log
@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.)
@
text
@a0 3
#       @@(#)Makefile    5.6 (Berkeley) 6/23/90

FILES=	makewhatis
d3 3
a5 13
CLEANFILES+=	${FILES}

all: ${FILES}

makewhatis: makewhatis.sh
	sed -e 's/%sections%/ "1", "n", "l", "6", "8", "2", "3", "4", "5", "7", "p", "o", NULL/' \
	    -e 's,%compext%,${compext},' \
	    -e 's,%zcat%,${zcat},' \
	    ${.CURDIR}/${.TARGET}.sh > ${.TARGET}

install:
	install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	     ${FILES} ${DESTDIR}${BINDIR}
@


1.9
log
@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.
@
text
@d3 1
a4 1
CLEANFILES= makewhatis
d6 1
a6 3
beforeinstall: makewhatis
	install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	     makewhatis ${DESTDIR}${BINDIR}
d8 1
a8 1
.include <bsd.prog.mk>
d12 3
a14 3
	-e 's,%zcat%,${zcat},' \
	-e 's,%compext%,${compext},' \
	   ${.CURDIR}/makewhatis.sh > makewhatis
d16 5
@


1.8
log
@Correct pre-installation target.
@
text
@d8 1
a8 1
	     ${.CURDIR}/makewhatis ${DESTDIR}${BINDIR}
d16 1
a16 1
	   ${.CURDIR}/makewhatis.sh > ${.CURDIR}/makewhatis
@


1.7
log
@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.
@
text
@d16 1
a16 1
	   ${.CURDIR}/makewhatis.sh > makewhatis
@


1.6
log
@Cleaned up the Makefile to look nicer and not require a lot of hacks
@
text
@d8 1
a8 1
	     ${.CURDIR}/makewhatis.sh ${DESTDIR}${BINDIR}/makewhatis
d14 2
@


1.5
log
@Added ${DESTDIR} to all the naked install commands w/out them.
@
text
@d1 1
a1 5
.if exists(${.CURDIR}/obj)
TARG=  ${.CURDIR}/obj/makewhatis
.else
TARG=  ${.CURDIR}/makewhatis
.endif
d3 2
a4 1
all:	${TARG}
d6 3
a8 2
depend rcsfreeze tags all:
	@@echo -n
d10 1
a10 2
cleandir: clean
	cd ${.CURDIR}; rm -rf obj;
d12 3
a14 2
clean:
	@@rm -f ${TARG}
a15 7
install:
	install -c -o bin -g bin -m 555 ${TARG} ${DESTDIR}/usr/bin

${TARG}: ${.CURDIR}/makewhatis.sh
	sed -e 's/%sections%/ "1", "n", "l", "6", "8", "2", "3", "4", "5", "7", "p", "o", NULL/' ${.CURDIR}/makewhatis.sh > ${TARG}

.include "../Makefile.inc"
@


1.4
log
@Made makewhatis installed as 555 so that people could actually run it.
@
text
@d19 1
a19 1
	install -c -o bin -g bin -m 555 ${TARG} /usr/bin
@


1.3
log
@Changes to allow man to work with or without obj dirs.
@
text
@d19 1
a19 1
	install -c -o bin -g bin -m 444 ${TARG} /usr/bin
@


1.2
log
@Fixed make file for tags target, removed files that are generated by the
Makefile.
@
text
@d1 5
a5 1
.include "../Makefile.inc"
d7 1
a7 1
all:	makewhatis
d9 1
a9 1
obj depend rcsfreeze tags all:
d13 1
d16 1
a16 1
	@@rm -f makewhatis
d19 4
a22 1
	install -c -o bin -g bin -m 444 makewhatis /usr/bin
d24 1
a24 2
makewhatis: makewhatis.sh
	sed -e 's/%sections%/ "1", "n", "l", "6", "8", "2", "3", "4", "5", "7", "p", "o", NULL/' makewhatis.sh > makewhatis
@


1.1
log
@Initial revision
@
text
@d5 1
a5 1
obj depend rcsfreeze all:
@


1.1.1.1
log
@Newer new man page reader.
@
text
@@
