head	1.27;
access;
symbols
	RELENG_8_4:1.27.0.2
	RELENG_8_3_0_RELEASE:1.26.36.1.8.1
	RELENG_8_3:1.26.36.1.0.8
	RELENG_8_3_BP:1.26.36.1
	RELENG_7_4_0_RELEASE:1.26.40.1
	RELENG_8_2_0_RELEASE:1.26.36.1.6.1
	RELENG_7_4:1.26.0.40
	RELENG_7_4_BP:1.26
	RELENG_8_2:1.26.36.1.0.6
	RELENG_8_2_BP:1.26.36.1
	RELENG_8_1_0_RELEASE:1.26.36.1.4.1
	RELENG_8_1:1.26.36.1.0.4
	RELENG_8_1_BP:1.26.36.1
	RELENG_7_3_0_RELEASE:1.26.38.1
	RELENG_7_3:1.26.0.38
	RELENG_7_3_BP:1.26
	RELENG_8_0_0_RELEASE:1.26.36.1.2.1
	RELENG_8_0:1.26.36.1.0.2
	RELENG_8_0_BP:1.26.36.1
	RELENG_8:1.26.0.36
	RELENG_8_BP:1.26
	RELENG_7_2_0_RELEASE:1.26.34.1
	RELENG_7_2:1.26.0.34
	RELENG_7_2_BP:1.26
	RELENG_7_1_0_RELEASE:1.26.32.1
	RELENG_6_4_0_RELEASE:1.26.30.1
	RELENG_7_1:1.26.0.32
	RELENG_7_1_BP:1.26
	RELENG_6_4:1.26.0.30
	RELENG_6_4_BP:1.26
	RELENG_7_0_0_RELEASE:1.26
	RELENG_6_3_0_RELEASE:1.26
	RELENG_7_0:1.26.0.28
	RELENG_7_0_BP:1.26
	RELENG_6_3:1.26.0.26
	RELENG_6_3_BP:1.26
	RELENG_7:1.26.0.24
	RELENG_7_BP:1.26
	RELENG_6_2_0_RELEASE:1.26
	RELENG_6_2:1.26.0.22
	RELENG_6_2_BP:1.26
	RELENG_5_5_0_RELEASE:1.26
	RELENG_5_5:1.26.0.20
	RELENG_5_5_BP:1.26
	RELENG_6_1_0_RELEASE:1.26
	RELENG_6_1:1.26.0.18
	RELENG_6_1_BP:1.26
	RELENG_6_0_0_RELEASE:1.26
	RELENG_6_0:1.26.0.16
	RELENG_6_0_BP:1.26
	RELENG_6:1.26.0.14
	RELENG_6_BP:1.26
	RELENG_5_4_0_RELEASE:1.26
	RELENG_5_4:1.26.0.12
	RELENG_5_4_BP:1.26
	RELENG_4_11_0_RELEASE:1.22.2.3
	RELENG_4_11:1.22.2.3.0.12
	RELENG_4_11_BP:1.22.2.3
	RELENG_5_3_0_RELEASE:1.26
	RELENG_5_3:1.26.0.10
	RELENG_5_3_BP:1.26
	RELENG_5:1.26.0.8
	RELENG_5_BP:1.26
	RELENG_4_10_0_RELEASE:1.22.2.3
	RELENG_4_10:1.22.2.3.0.10
	RELENG_4_10_BP:1.22.2.3
	RELENG_5_2_1_RELEASE:1.26
	RELENG_5_2_0_RELEASE:1.26
	RELENG_5_2:1.26.0.6
	RELENG_5_2_BP:1.26
	RELENG_4_9_0_RELEASE:1.22.2.3
	RELENG_4_9:1.22.2.3.0.8
	RELENG_4_9_BP:1.22.2.3
	RELENG_5_1_0_RELEASE:1.26
	RELENG_5_1:1.26.0.4
	RELENG_5_1_BP:1.26
	RELENG_4_8_0_RELEASE:1.22.2.3
	RELENG_4_8:1.22.2.3.0.6
	RELENG_4_8_BP:1.22.2.3
	RELENG_5_0_0_RELEASE:1.26
	RELENG_5_0:1.26.0.2
	RELENG_5_0_BP:1.26
	RELENG_4_7_0_RELEASE:1.22.2.3
	RELENG_4_7:1.22.2.3.0.4
	RELENG_4_7_BP:1.22.2.3
	RELENG_4_6_2_RELEASE:1.22.2.3
	RELENG_4_6_1_RELEASE:1.22.2.3
	RELENG_4_6_0_RELEASE:1.22.2.3
	RELENG_4_6:1.22.2.3.0.2
	RELENG_4_6_BP:1.22.2.3
	RELENG_4_5_0_RELEASE:1.22.2.2
	RELENG_4_5:1.22.2.2.0.4
	RELENG_4_5_BP:1.22.2.2
	RELENG_4_4_0_RELEASE:1.22.2.2
	RELENG_4_4:1.22.2.2.0.2
	RELENG_4_4_BP:1.22.2.2
	RELENG_4_3_0_RELEASE:1.22.2.1
	RELENG_4_3:1.22.2.1.0.2
	RELENG_4_3_BP:1.22.2.1
	RELENG_4_2_0_RELEASE:1.22
	RELENG_4_1_1_RELEASE:1.22
	PRE_SMPNG:1.22
	RELENG_4_1_0_RELEASE:1.22
	RELENG_3_5_0_RELEASE:1.19.2.2
	RELENG_4_0_0_RELEASE:1.22
	RELENG_4:1.22.0.2
	RELENG_4_BP:1.22
	RELENG_3_4_0_RELEASE:1.19.2.2
	RELENG_3_3_0_RELEASE:1.19.2.2
	RELENG_3_2_PAO:1.19.0.4
	RELENG_3_2_PAO_BP:1.19
	RELENG_3_2_0_RELEASE:1.19
	RELENG_3_1_0_RELEASE:1.19
	RELENG_3:1.19.0.2
	RELENG_3_BP:1.19
	RELENG_2_2_8_RELEASE:1.15.2.3
	RELENG_3_0_0_RELEASE:1.19
	RELENG_2_2_7_RELEASE:1.15.2.3
	RELENG_2_2_6_RELEASE:1.15.2.3
	RELENG_2_2_5_RELEASE:1.15
	RELENG_2_2_2_RELEASE:1.15
	RELENG_2_2_1_RELEASE:1.15
	RELENG_2_2_0_RELEASE:1.15
	RELENG_2_1_7_RELEASE:1.9.4.2
	RELENG_2_1_6_1_RELEASE:1.9.4.2
	RELENG_2_1_6_RELEASE:1.9.4.2
	RELENG_2_2:1.15.0.2
	RELENG_2_2_BP:1.15
	RELENG_2_1_5_RELEASE:1.9.4.2
	RELENG_2_1_0_RELEASE:1.9
	RELENG_2_1_0:1.9.0.4
	RELENG_2_1_0_BP:1.9
	RELENG_2_0_5_RELEASE:1.9
	RELENG_2_0_5:1.9.0.2
	RELENG_2_0_5_BP:1.9
	RELENG_2_0_5_ALPHA:1.9
	RELEASE_2_0:1.8
	BETA_2_0:1.8
	ALPHA_2_0:1.8.0.2
	MOVED_NEWCVS:1.8
	FINAL_1_1_5:1.8
	ALPHA_1_1_5:1.8
	FINAL_1_1:1.7
	GAMMA_1_1:1.7
	BETA_1_1:1.7.0.2
	BP_BETA_1_1:1.7
	FINAL_1_0:1.7
	EPSILON_1_0:1.7
	GAMMA_1_0:1.7
	BETA_1_0:1.7
	ALPHA_1_0:1.4
	man_1_1:1.1.1.1
	man:1.1.1;
locks; strict;
comment	@# @;


1.27
date	2011.04.21.07.14.10;	author gordon;	state dead;
branches
	1.27.2.1;
next	1.26;

1.26
date	2002.01.11.15.12.00;	author ru;	state Exp;
branches
	1.26.14.1
	1.26.24.1
	1.26.30.1
	1.26.32.1
	1.26.34.1
	1.26.36.1
	1.26.38.1
	1.26.40.1;
next	1.25;

1.25
date	2001.03.27.14.59.03;	author ru;	state Exp;
branches;
next	1.24;

1.24
date	2001.03.26.07.28.25;	author ru;	state Exp;
branches;
next	1.23;

1.23
date	2000.12.05.08.10.27;	author ru;	state Exp;
branches;
next	1.22;

1.22
date	99.08.27.08.43.58;	author ru;	state Exp;
branches
	1.22.2.1;
next	1.21;

1.21
date	99.05.23.02.11.41;	author jb;	state Exp;
branches;
next	1.20;

1.20
date	99.05.22.19.38.04;	author hoek;	state Exp;
branches;
next	1.19;

1.19
date	98.03.07.09.45.58;	author bde;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	97.11.30.20.08.27;	author steve;	state Exp;
branches;
next	1.17;

1.17
date	97.11.30.17.17.28;	author steve;	state Exp;
branches;
next	1.16;

1.16
date	97.04.10.16.14.09;	author bde;	state Exp;
branches;
next	1.15;

1.15
date	96.09.05.17.14.14;	author bde;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	96.06.24.04.23.04;	author jkh;	state Exp;
branches;
next	1.13;

1.13
date	96.02.25.20.24.57;	author bde;	state Exp;
branches;
next	1.12;

1.12
date	96.02.06.23.48.03;	author wosch;	state Exp;
branches;
next	1.11;

1.11
date	96.01.24.00.18.29;	author wosch;	state Exp;
branches;
next	1.10;

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

1.9
date	95.02.26.03.03.15;	author bde;	state Exp;
branches
	1.9.4.1;
next	1.8;

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

1.7
date	93.07.21.21.37.54;	author nate;	state Exp;
branches;
next	1.6;

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

1.5
date	93.07.21.17.18.02;	author jkh;	state Exp;
branches;
next	1.4;

1.4
date	93.07.20.02.13.11;	author rgrimes;	state Exp;
branches;
next	1.3;

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

1.2
date	93.07.08.21.57.48;	author jkh;	state Exp;
branches;
next	1.1;

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

1.27.2.1
date	2011.04.21.07.14.10;	author svnexp;	state dead;
branches;
next	1.27.2.2;

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

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

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

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

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

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

1.26.36.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.26.36.1.2.1
	1.26.36.1.4.1
	1.26.36.1.6.1
	1.26.36.1.8.1;
next	1.26.36.2;

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

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

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

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

1.26.36.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.26.36.1.8.2;

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

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

1.26.40.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.26.40.2;

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

1.22.2.1
date	2000.12.05.08.11.12;	author ru;	state Exp;
branches;
next	1.22.2.2;

1.22.2.2
date	2001.04.25.12.03.53;	author ru;	state Exp;
branches;
next	1.22.2.3;

1.22.2.3
date	2002.02.01.09.00.02;	author ru;	state Exp;
branches;
next	1.22.2.4;

1.22.2.4
date	2012.11.17.07.23.07;	author svnexp;	state Exp;
branches;
next	;

1.19.2.1
date	99.08.21.07.23.39;	author ru;	state Exp;
branches;
next	1.19.2.2;

1.19.2.2
date	99.09.02.09.14.39;	author ru;	state Exp;
branches;
next	;

1.15.2.1
date	97.11.30.17.25.20;	author steve;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	97.11.30.20.17.07;	author steve;	state Exp;
branches;
next	1.15.2.3;

1.15.2.3
date	98.02.15.16.05.27;	author jkh;	state Exp;
branches;
next	;

1.9.4.1
date	96.05.29.22.36.36;	author jkh;	state Exp;
branches;
next	1.9.4.2;

1.9.4.2
date	96.06.05.02.41.18;	author jkh;	state Exp;
branches;
next	;

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


desc
@@


1.27
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/manpath/Makefile,v 1.26 2002/01/11 15:12:00 ru Exp $

PROG=	manpath

DPADD=	${LIBMAN}
LDADD=	${LIBMAN}

CFLAGS+= -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS
CFLAGS+= -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
CLEANFILES+=	manpath.1

manpath.1: ${.CURDIR}/manpath.man
	@@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
	sed -e 's,%manpath_config_file%,/etc/manpath.config,' \
	${.ALLSRC} > ${.TARGET}

.include <bsd.prog.mk>
@


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


1.27.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 17
# $FreeBSD: releng/8.4/gnu/usr.bin/man/manpath/Makefile 89256 2002-01-11 15:12:00Z ru $

PROG=	manpath

DPADD=	${LIBMAN}
LDADD=	${LIBMAN}

CFLAGS+= -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS
CFLAGS+= -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
CLEANFILES+=	manpath.1

manpath.1: ${.CURDIR}/manpath.man
	@@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
	sed -e 's,%manpath_config_file%,/etc/manpath.config,' \
	${.ALLSRC} > ${.TARGET}

.include <bsd.prog.mk>
@


1.26
log
@Now that we have the original BSD man(1)'s ${MACHINE} feature
back (as of man.c,v 1.45), change the meaning of the -m option
from poorly documented and badly coded "alternate system" to a
much more useful "different architecture for the same system".

PR:		docs/31261
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.26.24.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/man/manpath/Makefile 89256 2002-01-11 15:12:00Z ru $
@


1.26.14.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/man/manpath/Makefile 89256 2002-01-11 15:12:00Z ru $
@


1.26.40.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.26.40.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/man/manpath/Makefile 89256 2002-01-11 15:12:00Z ru $
@


1.26.38.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.26.36.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.26.36.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/manpath/Makefile 89256 2002-01-11 15:12:00Z ru $
@


1.26.36.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.26.36.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/man/manpath/Makefile 89256 2002-01-11 15:12:00Z ru $
@


1.26.36.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.26.36.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.26.36.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.26.34.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.26.32.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.26.30.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.25
log
@MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/man/manpath/Makefile,v 1.24 2001/03/26 07:28:25 ru Exp $
d9 1
a9 1
CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
@


1.24
log
@Don't use MANDEPEND and MANSRC.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/man/manpath/Makefile,v 1.23 2000/12/05 08:10:27 ru Exp $
d10 1
a10 1
CLEANFILES+=	${MAN1}
d12 1
a12 3
.include <bsd.prog.mk>

${MAN1}: ${.CURDIR}/manpath.man
d16 2
@


1.23
log
@Fixed manpage building.
@
text
@d1 1
a1 1
# $FreeBSD$
a3 2
SRCS=	manpath.c
MAN1=	manpath.1
d11 2
a12 1
MANDEPEND+=	${MAN1}
d17 1
a17 3
	${.CURDIR}/manpath.man > ${MAN1}

.include <bsd.prog.mk>
@


1.22
log
@Don't install /etc/manpath.config.sample.
@
text
@d1 2
d17 1
a17 3
	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},' \
@


1.22.2.1
log
@MFC: Fixed manpage building.
@
text
@a0 2
# $FreeBSD$

d15 3
a17 1
	sed -e 's,%manpath_config_file%,/etc/manpath.config,' \
@


1.22.2.2
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/man/manpath/Makefile,v 1.22.2.1 2000/12/05 08:11:12 ru Exp $
d4 2
d12 2
a13 1
CLEANFILES+=	manpath.1
d15 1
a15 1
manpath.1: ${.CURDIR}/manpath.man
d18 1
a18 1
	${.ALLSRC} > ${.TARGET}
@


1.22.2.3
log
@MFC: -m option now does architecture lookups (same as ${MACHINE}).
@
text
@d1 1
a1 1
# $FreeBSD$
d9 1
a9 1
CFLAGS+= -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
@


1.22.2.4
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/man/manpath/Makefile 90055 2002-02-01 09:00:02Z ru $
@


1.21
log
@Add a missing backslash from the last commit. (Broke installworld)
@
text
@a19 4
afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
	    ${.CURDIR}/manpath.config ${DESTDIR}${manpath_config_file}.sample

@


1.20
log
@Use BINOWN and BINGRP (some people do change these...)
@
text
@d21 1
a21 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644
@


1.19
log
@Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
@
text
@d21 2
a22 2
	${INSTALL} -c -o bin -g bin -m 644 ${.CURDIR}/manpath.config \
	    ${DESTDIR}${manpath_config_file}.sample
@


1.19.2.1
log
@MFC:

- Remove unused MANBIN directive.

- Add an OPTIONAL_MANPATH directive (same as MANDATORY_MANPATH,
  except an absence of the directory is not considered an error
  and doesn't produce a warning).
  Put /usr/local/lib/perl5/*/man under OPTIONAL_MANPATH.

- An order of directives in manpath.config is now irrelevant.

- Get rid of infinite loop when PATH is unset or NULL, and
  MANDATORY_MANPATH directory doesn't exist.

- mdoc(9)ify manpage.

Approved by:	jkh
@
text
@d21 2
a22 2
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
	    ${.CURDIR}/manpath.config ${DESTDIR}${manpath_config_file}.sample
@


1.19.2.2
log
@MFC: Don't install /etc/manpath.config.sample.

Approved by:	jkh
@
text
@d20 4
@


1.18
log
@Remove manpath.[ch] here and use the ones in ../manpath instead.
@
text
@d5 2
a6 7
.if exists(${.OBJDIR}/../lib)
LIBDESTDIR=	${.OBJDIR}/../lib
.else
LIBDESTDIR=	${.CURDIR}/../lib
.endif
DPADD=	${LIBDESTDIR}/libman.a
LDADD=	-L${LIBDESTDIR} -lman
@


1.17
log
@Remove this copy of manpath.c and add the .PATH directive to get to
the same file in ${.CURDIR}/../man.

Suggested by:	Bruce Evans
@
text
@a17 2
.PATH:	${.CURDIR}/../man

@


1.16
log
@Fixed bogus existence test related to searching for a nearby obj
directory.  manpath.1 is always in the current (= object) directory,
so don't search for it.
@
text
@d18 2
@


1.15
log
@Fixed DPADD.
@
text
@d3 1
a11 6

.if exists(${.OBJDIR})
MAN1=${.OBJDIR}/manpath.1
.else
MAN1=${.CURDIR}/manpath.1
.endif
@


1.15.2.1
log
@MFC: remove this copy of manpath.c and use the other in ../man.

Suggested by:	Bruce Evans
@
text
@a22 2
.PATH:	${.CURDIR}/../man

@


1.15.2.2
log
@MFC: Use the manpath.[ch] files from the manpath directory.
@
text
@d23 2
@


1.15.2.3
log
@MFC: spelling corrections, deobfuscation.
@
text
@a2 1
MAN1=	manpath.1
d11 6
@


1.14
log
@Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
@
text
@d5 1
a5 1
LDADD=  -L${.OBJDIR}/../lib -lman
d7 1
a7 1
LDADD=  -L${.CURDIR}/../lib/ -lman
d9 2
a17 1
DPADD+=  ${MAN1}
@


1.13
log
@Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
@
text
@d4 2
a5 2
.if exists(${.CURDIR}/../lib/obj)
LDADD=  -L${.CURDIR}/../lib/obj -lman
d10 2
a11 2
.if exists(${.CURDIR}/obj)
MAN1=${.CURDIR}/obj/manpath.1
d18 1
a18 1
CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.CURDIR}/../lib/obj
@


1.12
log
@making <page>.1 from <page>.man
@
text
@d23 1
a23 1
	@@echo Making ${.TARGET:T} from ${.ALLSRC:T}; \
@


1.11
log
@manpath.1 depend on manpath.man
@
text
@d23 1
@


1.10
log
@Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
@
text
@d20 1
@


1.9
log
@Install manpath.config.sample with the correct mode.  It should be installed
elsewhere.
@
text
@d28 2
a29 1
	install -c -o bin -g bin -m 644 ${.CURDIR}/manpath.config ${DESTDIR}${manpath_config_file}.sample
@


1.9.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
@a19 1
MANDEPEND+=	${MAN1}
a21 1
	@@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
d28 1
a28 2
	${INSTALL} -c -o bin -g bin -m 644 ${.CURDIR}/manpath.config \
	    ${DESTDIR}${manpath_config_file}.sample
@


1.9.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
@d20 1
d23 1
d30 2
a31 1
	install -c -o bin -g bin -m 644 ${.CURDIR}/manpath.config ${DESTDIR}${manpath_config_file}.sample
@


1.8
log
@Stop toasting folks' /etc/manpath.config files.
@
text
@d28 1
a28 1
	install -c -o bin -g bin -m 555 ${.CURDIR}/manpath.config ${DESTDIR}${manpath_config_file}.sample
@


1.7
log
@Removed manpath.1 and added CLEANFILES directive to Makefile since it's
made automagically.
@
text
@d28 1
a28 1
	install -c -o bin -g bin -m 555 ${.CURDIR}/manpath.config ${DESTDIR}${manpath_config_file}
@


1.6
log
@One last thing for making sure it works.
@
text
@d19 1
@


1.5
log
@Changes to allow man to work with or without obj dirs.
@
text
@d17 2
a18 1
CFLAGS+= -I${.CURDIR}/../lib -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS -DALT_SYSTEMS
@


1.4
log
@The install of manpath.config did not have a ${DESTDIR} in it.  These
are needed on all install commands in Makefiles!
@
text
@a1 1
MAN1=	manpath.1
d10 7
d19 1
a19 1
manpath.1: manpath.man
d23 1
a23 1
	manpath.man > manpath.1
@


1.3
log
@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? :-)
@
text
@d20 1
a20 1
	install -c -o bin -g bin -m 555 ${.CURDIR}/manpath.config ${manpath_config_file}
@


1.2
log
@Changed Makefile to use Nate's selective obj/noobj build scheme.
@
text
@d19 3
@


1.1
log
@Initial revision
@
text
@d4 6
a9 1
LDADD+=	-L${.CURDIR}/../lib -lman
@


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