head	1.18;
access;
symbols
	RELENG_8_4:1.18.0.2
	RELENG_8_3_0_RELEASE:1.17.10.1.8.1
	RELENG_8_3:1.17.10.1.0.8
	RELENG_8_3_BP:1.17.10.1
	RELENG_7_4_0_RELEASE:1.17.14.1
	RELENG_8_2_0_RELEASE:1.17.10.1.6.1
	RELENG_7_4:1.17.0.14
	RELENG_7_4_BP:1.17
	RELENG_8_2:1.17.10.1.0.6
	RELENG_8_2_BP:1.17.10.1
	RELENG_8_1_0_RELEASE:1.17.10.1.4.1
	RELENG_8_1:1.17.10.1.0.4
	RELENG_8_1_BP:1.17.10.1
	RELENG_7_3_0_RELEASE:1.17.12.1
	RELENG_7_3:1.17.0.12
	RELENG_7_3_BP:1.17
	RELENG_8_0_0_RELEASE:1.17.10.1.2.1
	RELENG_8_0:1.17.10.1.0.2
	RELENG_8_0_BP:1.17.10.1
	RELENG_8:1.17.0.10
	RELENG_8_BP:1.17
	RELENG_7_2_0_RELEASE:1.17.8.1
	RELENG_7_2:1.17.0.8
	RELENG_7_2_BP:1.17
	RELENG_7_1_0_RELEASE:1.17.6.1
	RELENG_6_4_0_RELEASE:1.16.14.1.6.1
	RELENG_7_1:1.17.0.6
	RELENG_7_1_BP:1.17
	RELENG_6_4:1.16.14.1.0.6
	RELENG_6_4_BP:1.16.14.1
	RELENG_7_0_0_RELEASE:1.17
	RELENG_6_3_0_RELEASE:1.16.14.1
	RELENG_7_0:1.17.0.4
	RELENG_7_0_BP:1.17
	RELENG_6_3:1.16.14.1.0.4
	RELENG_6_3_BP:1.16.14.1
	RELENG_7:1.17.0.2
	RELENG_7_BP:1.17
	RELENG_6_2_0_RELEASE:1.16.14.1
	RELENG_6_2:1.16.14.1.0.2
	RELENG_6_2_BP:1.16.14.1
	RELENG_5_5_0_RELEASE:1.16
	RELENG_5_5:1.16.0.20
	RELENG_5_5_BP:1.16
	RELENG_6_1_0_RELEASE:1.16
	RELENG_6_1:1.16.0.18
	RELENG_6_1_BP:1.16
	RELENG_6_0_0_RELEASE:1.16
	RELENG_6_0:1.16.0.16
	RELENG_6_0_BP:1.16
	RELENG_6:1.16.0.14
	RELENG_6_BP:1.16
	RELENG_5_4_0_RELEASE:1.16
	RELENG_5_4:1.16.0.12
	RELENG_5_4_BP:1.16
	RELENG_4_11_0_RELEASE:1.15.2.1
	RELENG_4_11:1.15.2.1.0.16
	RELENG_4_11_BP:1.15.2.1
	RELENG_5_3_0_RELEASE:1.16
	RELENG_5_3:1.16.0.10
	RELENG_5_3_BP:1.16
	RELENG_5:1.16.0.8
	RELENG_5_BP:1.16
	RELENG_4_10_0_RELEASE:1.15.2.1
	RELENG_4_10:1.15.2.1.0.14
	RELENG_4_10_BP:1.15.2.1
	RELENG_5_2_1_RELEASE:1.16
	RELENG_5_2_0_RELEASE:1.16
	RELENG_5_2:1.16.0.6
	RELENG_5_2_BP:1.16
	RELENG_4_9_0_RELEASE:1.15.2.1
	RELENG_4_9:1.15.2.1.0.12
	RELENG_4_9_BP:1.15.2.1
	RELENG_5_1_0_RELEASE:1.16
	RELENG_5_1:1.16.0.4
	RELENG_5_1_BP:1.16
	RELENG_4_8_0_RELEASE:1.15.2.1
	RELENG_4_8:1.15.2.1.0.10
	RELENG_4_8_BP:1.15.2.1
	RELENG_5_0_0_RELEASE:1.16
	RELENG_5_0:1.16.0.2
	RELENG_5_0_BP:1.16
	RELENG_4_7_0_RELEASE:1.15.2.1
	RELENG_4_7:1.15.2.1.0.8
	RELENG_4_7_BP:1.15.2.1
	RELENG_4_6_2_RELEASE:1.15.2.1
	RELENG_4_6_1_RELEASE:1.15.2.1
	RELENG_4_6_0_RELEASE:1.15.2.1
	RELENG_4_6:1.15.2.1.0.6
	RELENG_4_6_BP:1.15.2.1
	RELENG_4_5_0_RELEASE:1.15.2.1
	RELENG_4_5:1.15.2.1.0.4
	RELENG_4_5_BP:1.15.2.1
	RELENG_4_4_0_RELEASE:1.15.2.1
	RELENG_4_4:1.15.2.1.0.2
	RELENG_4_4_BP:1.15.2.1
	RELENG_4_3_0_RELEASE:1.15
	RELENG_4_3:1.15.0.4
	RELENG_4_3_BP:1.15
	RELENG_4_2_0_RELEASE:1.15
	RELENG_4_1_1_RELEASE:1.15
	PRE_SMPNG:1.15
	RELENG_4_1_0_RELEASE:1.15
	RELENG_3_5_0_RELEASE:1.13.2.1
	RELENG_4_0_0_RELEASE:1.15
	RELENG_4:1.15.0.2
	RELENG_4_BP:1.15
	RELENG_3_4_0_RELEASE:1.13.2.1
	RELENG_3_3_0_RELEASE:1.13.2.1
	RELENG_3_2_PAO:1.13.0.4
	RELENG_3_2_PAO_BP:1.13
	RELENG_3_2_0_RELEASE:1.13
	RELENG_3_1_0_RELEASE:1.13
	RELENG_3:1.13.0.2
	RELENG_3_BP:1.13
	RELENG_2_2_8_RELEASE:1.11
	RELENG_3_0_0_RELEASE:1.13
	RELENG_2_2_7_RELEASE:1.11
	RELENG_2_2_6_RELEASE:1.11
	RELENG_2_2_5_RELEASE:1.11
	RELENG_2_2_2_RELEASE:1.11
	RELENG_2_2_1_RELEASE:1.11
	RELENG_2_2_0_RELEASE:1.11
	RELENG_2_1_7_RELEASE:1.8.6.2
	RELENG_2_1_6_1_RELEASE:1.8.6.2
	RELENG_2_1_6_RELEASE:1.8.6.2
	RELENG_2_2:1.11.0.2
	RELENG_2_2_BP:1.11
	RELENG_2_1_5_RELEASE:1.8.6.2
	RELENG_2_1_0_RELEASE:1.8
	RELENG_2_1_0:1.8.0.6
	RELENG_2_1_0_BP:1.8
	RELENG_2_0_5_RELEASE:1.8
	RELENG_2_0_5:1.8.0.4
	RELENG_2_0_5_BP:1.8
	RELENG_2_0_5_ALPHA:1.8
	RELEASE_2_0:1.8
	BETA_2_0:1.8
	ALPHA_2_0:1.8.0.2
	MOVED_NEWCVS:1.7
	FINAL_1_1_5:1.7
	ALPHA_1_1_5:1.7
	FINAL_1_1:1.5
	GAMMA_1_1:1.5
	BETA_1_1:1.5.0.2
	BP_BETA_1_1:1.5
	FINAL_1_0:1.5
	EPSILON_1_0:1.5
	GAMMA_1_0:1.5
	BETA_1_0:1.5
	ALPHA_1_0:1.2
	man_1_1:1.1.1.1
	man:1.1.1;
locks; strict;
comment	@# @;


1.18
date	2011.04.21.07.14.10;	author gordon;	state dead;
branches
	1.18.2.1;
next	1.17;

1.17
date	2005.07.17.21.18.09;	author wosch;	state Exp;
branches
	1.17.2.1
	1.17.6.1
	1.17.8.1
	1.17.10.1
	1.17.12.1
	1.17.14.1;
next	1.16;

1.16
date	2001.04.07.11.21.18;	author ru;	state Exp;
branches
	1.16.8.1
	1.16.14.1;
next	1.15;

1.15
date	99.08.27.23.36.07;	author peter;	state Exp;
branches
	1.15.2.1;
next	1.14;

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

1.13
date	97.02.22.15.46.57;	author peter;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	97.01.14.05.58.17;	author jkh;	state Exp;
branches;
next	1.11;

1.11
date	96.03.10.18.52.05;	author wosch;	state Exp;
branches
	1.11.2.1;
next	1.10;

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

1.9
date	95.07.25.00.33.07;	author bde;	state Exp;
branches;
next	1.8;

1.8
date	94.08.28.18.33.42;	author bde;	state Exp;
branches
	1.8.6.1;
next	1.7;

1.7
date	94.06.05.21.57.03;	author csgr;	state Exp;
branches;
next	1.6;

1.6
date	94.06.05.20.39.47;	author csgr;	state Exp;
branches;
next	1.5;

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

1.4
date	93.07.23.02.58.11;	author jkh;	state Exp;
branches;
next	1.3;

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

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

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

1.18.2.1
date	2011.04.21.07.14.10;	author svnexp;	state dead;
branches;
next	1.18.2.2;

1.18.2.2
date	2013.03.28.13.02.52;	author svnexp;	state Exp;
branches;
next	;

1.17.2.1
date	2012.11.17.08.01.36;	author svnexp;	state Exp;
branches;
next	;

1.17.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.17.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.17.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.17.10.1.2.1
	1.17.10.1.4.1
	1.17.10.1.6.1
	1.17.10.1.8.1;
next	1.17.10.2;

1.17.10.2
date	2012.11.17.10.35.59;	author svnexp;	state Exp;
branches;
next	;

1.17.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.17.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.17.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.17.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.17.10.1.8.2;

1.17.10.1.8.2
date	2012.11.17.08.24.40;	author svnexp;	state Exp;
branches;
next	;

1.17.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.17.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.17.14.2;

1.17.14.2
date	2012.11.17.08.16.39;	author svnexp;	state Exp;
branches;
next	;

1.16.8.1
date	2006.07.09.22.17.02;	author markm;	state Exp;
branches;
next	;

1.16.14.1
date	2006.07.09.22.06.27;	author markm;	state Exp;
branches
	1.16.14.1.6.1;
next	1.16.14.2;

1.16.14.2
date	2012.11.17.07.39.22;	author svnexp;	state Exp;
branches;
next	;

1.16.14.1.6.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.15.2.1
date	2001.04.25.14.04.13;	author ru;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2012.11.17.07.23.06;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1
date	99.08.29.14.33.51;	author peter;	state Exp;
branches;
next	;

1.11.2.1
date	99.09.05.11.06.48;	author peter;	state Exp;
branches;
next	;

1.8.6.1
date	96.05.29.22.36.19;	author jkh;	state Exp;
branches;
next	1.8.6.2;

1.8.6.2
date	96.06.05.02.40.59;	author jkh;	state Exp;
branches;
next	1.8.6.3;

1.8.6.3
date	99.09.05.11.11.07;	author peter;	state Exp;
branches;
next	;

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


desc
@@


1.18
log
@SVN rev 220910 on 2011-04-21 07:14:10Z by gordon

Remove GNU man implemenation now that the BSD version has cooked for a while.
@
text
@# $FreeBSD: src/gnu/usr.bin/man/apropos/Makefile,v 1.17 2005/07/17 21:18:09 wosch Exp $

SCRIPTS=apropos
MAN=	apropos.1
CLEANFILES+= ${SCRIPTS} ${MAN}

LINKS=	${BINDIR}/apropos ${BINDIR}/whatis
MLINKS=	apropos.1 whatis.1

.sh:
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' \
		${.ALLSRC} > ${.TARGET}

apropos.1: apropos.man
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
	    -e 's,%manpath_config_file%,${manpath_config_file},' \
		${.ALLSRC} > ${.TARGET}

.include <bsd.prog.mk>
@


1.18.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:52 +0000
@
text
@d1 21
@


1.18.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 21
# $FreeBSD: releng/8.4/gnu/usr.bin/man/apropos/Makefile 148108 2005-07-17 21:18:09Z wosch $

SCRIPTS=apropos
MAN=	apropos.1
CLEANFILES+= ${SCRIPTS} ${MAN}

LINKS=	${BINDIR}/apropos ${BINDIR}/whatis
MLINKS=	apropos.1 whatis.1

.sh:
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' \
		${.ALLSRC} > ${.TARGET}

apropos.1: apropos.man
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
	    -e 's,%manpath_config_file%,${manpath_config_file},' \
		${.ALLSRC} > ${.TARGET}

.include <bsd.prog.mk>
@


1.17
log
@remove myself as maintainer.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.17.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/man/apropos/Makefile 148108 2005-07-17 21:18:09Z wosch $
@


1.17.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.17.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/man/apropos/Makefile 148108 2005-07-17 21:18:09Z wosch $
@


1.17.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.17.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.17.10.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/gnu/usr.bin/man/apropos/Makefile 148108 2005-07-17 21:18:09Z wosch $
@


1.17.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.17.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/man/apropos/Makefile 148108 2005-07-17 21:18:09Z wosch $
@


1.17.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.17.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.17.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.17.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.17.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.16
log
@beforeinstall -> SCRIPTS.
@
text
@d1 1
a1 2
# $FreeBSD: src/gnu/usr.bin/man/apropos/Makefile,v 1.15 1999/08/27 23:36:07 peter Exp $
MAINTAINER= wosch
@


1.16.8.1
log
@MFC: maintainer straggers, and bring on down the LOCKS file for reference.
@
text
@d1 2
a2 1
# $FreeBSD$
@


1.16.14.1
log
@MFC: pick up maintainer stragglers.
@
text
@d1 2
a2 1
# $FreeBSD$
@


1.16.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/man/apropos/Makefile 160219 2006-07-09 22:06:28Z markm $
@


1.16.14.1.6.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.15
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d4 3
a6 1
SHPROG=	apropos
d8 1
a9 1
LINKS=	${BINDIR}/apropos ${BINDIR}/whatis
d11 12
a22 2
.include "../../Makefile.inc"
.include "../Makefile.shprog"
@


1.15.2.1
log
@MFC: Introduce and use SCRIPTS knob.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/man/apropos/Makefile,v 1.15 1999/08/27 23:36:07 peter Exp $
d4 1
a4 3
SCRIPTS=apropos
MAN=	apropos.1
CLEANFILES+= ${SCRIPTS} ${MAN}
d6 1
a7 12
MLINKS=	apropos.1 whatis.1

.sh:
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' \
		${.ALLSRC} > ${.TARGET}

apropos.1: apropos.man
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
	    -e 's,%manpath_config_file%,${manpath_config_file},' \
		${.ALLSRC} > ${.TARGET}
d9 2
a10 1
.include <bsd.prog.mk>
@


1.15.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/man/apropos/Makefile 75972 2001-04-25 14:05:26Z ru $
@


1.14
log
@Added myself as maintainer.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.13 1997/02/22 15:46:57 peter Exp $
@


1.13
log
@Revert $FreeBSD$ to $Id$
@
text
@d1 2
a2 1
# $Id$
@


1.13.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.12
log
@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.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.11
log
@share the code between apropos and whatis
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1996/03/09 17:31:08 wosch Exp wosch $
@


1.11.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.10
log
@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.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.9 1995/07/25 00:33:07 bde Exp $
d4 3
@


1.9
log
@Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.8 1994/08/28 18:33:42 bde Exp $
d3 1
a3 7
.if exists(${.CURDIR}/obj)
MAN1=  ${.CURDIR}/obj/apropos.1
TARG=  ${.CURDIR}/obj/apropos
.else
MAN1=  ${.CURDIR}/apropos.1
TARG=  ${.CURDIR}/apropos
.endif
d5 2
a6 34
MANDEPEND=	${MAN1}

CLEANFILES+=	${TARG} ${MAN1}

all:	${TARG} ${MAN1}

depend rcsfreeze tags all:
	@@echo -n

${TARG}: ${.CURDIR}/apropos.sh
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' \
		${.CURDIR}/apropos.sh > ${.TARGET}

${MAN1}: ${.CURDIR}/apropos.man
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
	    -e 's,%manpath_config_file%,${manpath_config_file},' \
		${.CURDIR}/apropos.man > ${.TARGET}

install: ${TARG} maninstall
	${INSTALL} -c -o bin -g bin -m 555 ${TARG} ${DESTDIR}/usr/bin

.include "../Makefile.inc"

.if make(maninstall) || make(install)
.if !defined(NOMAN)
.include <bsd.man.mk>
.elif !target(maninstall)
maninstall:
.endif
.endif

.include <bsd.prog.mk>
@


1.8
log
@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.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.7 1994/06/05 21:57:03 csgr Exp $
d32 1
a32 1
	install -c -o bin -g bin -m 555 ${TARG} ${DESTDIR}/usr/bin
@


1.8.6.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
@d1 1
a1 1
# $Id: Makefile,v 1.8 1994/08/28 18:33:42 bde Exp $
d3 7
a9 1
SHPROG=	apropos
d11 1
a11 2
MLINKS=	apropos.1 whatis.1
LINKS=	${BINDIR}/apropos ${BINDIR}/whatis
d13 32
a44 2
.include "../../Makefile.inc"
.include "../Makefile.shprog"
@


1.8.6.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
@d3 1
a3 7
.if exists(${.CURDIR}/obj)
MAN1=  ${.CURDIR}/obj/apropos.1
TARG=  ${.CURDIR}/obj/apropos
.else
MAN1=  ${.CURDIR}/apropos.1
TARG=  ${.CURDIR}/apropos
.endif
d5 2
a6 1
MANDEPEND=	${MAN1}
d8 2
a9 32
CLEANFILES+=	${TARG} ${MAN1}

all:	${TARG} ${MAN1}

depend rcsfreeze tags all:
	@@echo -n

${TARG}: ${.CURDIR}/apropos.sh
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' \
		${.CURDIR}/apropos.sh > ${.TARGET}

${MAN1}: ${.CURDIR}/apropos.man
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
	    -e 's,%manpath_config_file%,${manpath_config_file},' \
		${.CURDIR}/apropos.man > ${.TARGET}

install: ${TARG} maninstall
	install -c -o bin -g bin -m 555 ${TARG} ${DESTDIR}/usr/bin

.include "../Makefile.inc"

.if make(maninstall) || make(install)
.if !defined(NOMAN)
.include <bsd.man.mk>
.elif !target(maninstall)
maninstall:
.endif
.endif

.include <bsd.prog.mk>
@


1.8.6.3
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.7
log
@Make these Makefiles work properly when NOMAN is defined.
(I wish they just used bsd.prog.mk)
@
text
@d1 1
a1 1
# $Id$
d13 2
a19 6
cleandir: clean
	cd ${.CURDIR}; rm -rf obj;

clean:
	@@rm -f ${TARG} ${MAN1}

d23 1
a23 1
		${.CURDIR}/apropos.sh > $@@
d29 1
a29 1
	${.CURDIR}/apropos.man > $@@
a33 1

d43 2
@


1.6
log
@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.
@
text
@d42 1
d44 3
@


1.5
log
@Added ${DESTDIR} to all the naked install commands w/out them.
@
text
@d1 2
d4 1
a4 1
MANP=  ${.CURDIR}/obj/apropos.1
d7 1
a7 1
MANP=  ${.CURDIR}/apropos.1
d11 3
a13 1
all:	${TARG} ${MANP}
d22 1
a22 1
	@@rm -f ${TARG} ${MANP}
d29 1
a29 1
${MANP}: ${.CURDIR}/apropos.man
a37 2
maninstall: ${MANP}
	install -c -o bin -g bin -m 444 ${MANP} ${DESTDIR}/usr/share/man/man1
d40 4
@


1.4
log
@Changes to make `maninstall' work.
@
text
@d32 1
a32 1
	install -c -o bin -g bin -m 555 ${TARG} /usr/bin
d35 1
a35 1
	install -c -o bin -g bin -m 444 ${MANP} /usr/share/man/man1
@


1.3
log
@Changes to allow man to work with or without obj dirs.
@
text
@d31 1
a31 1
install: ${TARG} ${MANP}
d33 2
@


1.2
log
@Fixed make file for tags target, removed files that are generated by the
Makefile.
@
text
@d1 7
a7 1
.include "../Makefile.inc"
d9 1
a9 1
all:	apropos apropos.1
d11 1
a11 1
obj depend rcsfreeze tags all:
d15 1
d18 1
a18 1
	@@rm -f apropos apropos.1
d20 1
a20 1
apropos: apropos.sh
d23 1
a23 1
		apropos.sh > apropos
d25 1
a25 1
apropos.1: apropos.man
d29 5
a33 1
	apropos.man > apropos.1
d35 1
a35 3
install: apropos apropos.1
	install -c -o bin -g bin -m 555 apropos /usr/bin
	install -c -o bin -g bin -m 444 apropos.1 /usr/share/man/man1
@


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
@@
