head	1.27;
access;
symbols
	netbsd-11-0-RC4:1.27
	netbsd-11-0-RC3:1.27
	netbsd-11-0-RC2:1.27
	netbsd-11-0-RC1:1.27
	perseant-exfatfs-base-20250801:1.27
	netbsd-11:1.27.0.44
	netbsd-11-base:1.27
	netbsd-10-1-RELEASE:1.27
	perseant-exfatfs-base-20240630:1.27
	perseant-exfatfs:1.27.0.42
	perseant-exfatfs-base:1.27
	netbsd-8-3-RELEASE:1.27
	netbsd-9-4-RELEASE:1.27
	netbsd-10-0-RELEASE:1.27
	netbsd-10-0-RC6:1.27
	netbsd-10-0-RC5:1.27
	netbsd-10-0-RC4:1.27
	netbsd-10-0-RC3:1.27
	netbsd-10-0-RC2:1.27
	netbsd-10-0-RC1:1.27
	netbsd-10:1.27.0.40
	netbsd-10-base:1.27
	netbsd-9-3-RELEASE:1.27
	cjep_sun2x-base1:1.27
	cjep_sun2x:1.27.0.38
	cjep_sun2x-base:1.27
	cjep_staticlib_x-base1:1.27
	netbsd-9-2-RELEASE:1.27
	cjep_staticlib_x:1.27.0.36
	cjep_staticlib_x-base:1.27
	netbsd-9-1-RELEASE:1.27
	phil-wifi-20200421:1.27
	phil-wifi-20200411:1.27
	is-mlppp:1.27.0.34
	is-mlppp-base:1.27
	phil-wifi-20200406:1.27
	netbsd-8-2-RELEASE:1.27
	netbsd-9-0-RELEASE:1.27
	netbsd-9-0-RC2:1.27
	netbsd-9-0-RC1:1.27
	phil-wifi-20191119:1.27
	netbsd-9:1.27.0.32
	netbsd-9-base:1.27
	phil-wifi-20190609:1.27
	netbsd-8-1-RELEASE:1.27
	netbsd-8-1-RC1:1.27
	pgoyette-compat-merge-20190127:1.27
	pgoyette-compat-20190127:1.27
	pgoyette-compat-20190118:1.27
	pgoyette-compat-1226:1.27
	pgoyette-compat-1126:1.27
	pgoyette-compat-1020:1.27
	pgoyette-compat-0930:1.27
	pgoyette-compat-0906:1.27
	netbsd-7-2-RELEASE:1.27
	pgoyette-compat-0728:1.27
	netbsd-8-0-RELEASE:1.27
	phil-wifi:1.27.0.30
	phil-wifi-base:1.27
	pgoyette-compat-0625:1.27
	netbsd-8-0-RC2:1.27
	pgoyette-compat-0521:1.27
	pgoyette-compat-0502:1.27
	pgoyette-compat-0422:1.27
	netbsd-8-0-RC1:1.27
	pgoyette-compat-0415:1.27
	pgoyette-compat-0407:1.27
	pgoyette-compat-0330:1.27
	pgoyette-compat-0322:1.27
	pgoyette-compat-0315:1.27
	netbsd-7-1-2-RELEASE:1.27
	pgoyette-compat:1.27.0.28
	pgoyette-compat-base:1.27
	netbsd-7-1-1-RELEASE:1.27
	matt-nb8-mediatek:1.27.0.26
	matt-nb8-mediatek-base:1.27
	perseant-stdc-iso10646:1.27.0.24
	perseant-stdc-iso10646-base:1.27
	netbsd-8:1.27.0.22
	netbsd-8-base:1.27
	prg-localcount2-base3:1.27
	prg-localcount2-base2:1.27
	prg-localcount2-base1:1.27
	prg-localcount2:1.27.0.20
	prg-localcount2-base:1.27
	pgoyette-localcount-20170426:1.27
	bouyer-socketcan-base1:1.27
	pgoyette-localcount-20170320:1.27
	netbsd-7-1:1.27.0.18
	netbsd-7-1-RELEASE:1.27
	netbsd-7-1-RC2:1.27
	netbsd-7-nhusb-base-20170116:1.27
	bouyer-socketcan:1.27.0.16
	bouyer-socketcan-base:1.27
	pgoyette-localcount-20170107:1.27
	netbsd-7-1-RC1:1.27
	pgoyette-localcount-20161104:1.27
	netbsd-7-0-2-RELEASE:1.27
	localcount-20160914:1.27
	netbsd-7-nhusb:1.27.0.14
	netbsd-7-nhusb-base:1.27
	pgoyette-localcount-20160806:1.27
	pgoyette-localcount-20160726:1.27
	pgoyette-localcount:1.27.0.12
	pgoyette-localcount-base:1.27
	netbsd-7-0-1-RELEASE:1.27
	netbsd-7-0:1.27.0.10
	netbsd-7-0-RELEASE:1.27
	netbsd-7-0-RC3:1.27
	netbsd-7-0-RC2:1.27
	netbsd-7-0-RC1:1.27
	netbsd-5-2-3-RELEASE:1.26
	netbsd-5-1-5-RELEASE:1.26
	netbsd-6-0-6-RELEASE:1.26
	netbsd-6-1-5-RELEASE:1.26
	netbsd-7:1.27.0.8
	netbsd-7-base:1.27
	yamt-pagecache-base9:1.27
	yamt-pagecache-tag8:1.26
	netbsd-6-1-4-RELEASE:1.26
	netbsd-6-0-5-RELEASE:1.26
	tls-earlyentropy:1.27.0.6
	tls-earlyentropy-base:1.27
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.27
	riastradh-drm2-base3:1.27
	netbsd-6-1-3-RELEASE:1.26
	netbsd-6-0-4-RELEASE:1.26
	netbsd-5-2-2-RELEASE:1.26
	netbsd-5-1-4-RELEASE:1.26
	netbsd-6-1-2-RELEASE:1.26
	netbsd-6-0-3-RELEASE:1.26
	netbsd-5-2-1-RELEASE:1.26
	netbsd-5-1-3-RELEASE:1.26
	netbsd-6-1-1-RELEASE:1.26
	riastradh-drm2-base2:1.27
	riastradh-drm2-base1:1.27
	riastradh-drm2:1.27.0.2
	riastradh-drm2-base:1.27
	netbsd-6-1:1.26.0.30
	netbsd-6-0-2-RELEASE:1.26
	netbsd-6-1-RELEASE:1.26
	netbsd-6-1-RC4:1.26
	netbsd-6-1-RC3:1.26
	agc-symver:1.27.0.4
	agc-symver-base:1.27
	netbsd-6-1-RC2:1.26
	netbsd-6-1-RC1:1.26
	yamt-pagecache-base8:1.26
	netbsd-5-2:1.26.0.28
	netbsd-6-0-1-RELEASE:1.26
	yamt-pagecache-base7:1.26
	netbsd-5-2-RELEASE:1.26
	netbsd-5-2-RC1:1.26
	matt-nb6-plus-nbase:1.26
	yamt-pagecache-base6:1.26
	netbsd-6-0:1.26.0.26
	netbsd-6-0-RELEASE:1.26
	netbsd-6-0-RC2:1.26
	tls-maxphys:1.26.0.24
	tls-maxphys-base:1.27
	matt-nb6-plus:1.26.0.22
	matt-nb6-plus-base:1.26
	netbsd-6-0-RC1:1.26
	yamt-pagecache-base5:1.26
	yamt-pagecache-base4:1.26
	netbsd-6:1.26.0.20
	netbsd-6-base:1.26
	netbsd-5-1-2-RELEASE:1.26
	netbsd-5-1-1-RELEASE:1.26
	yamt-pagecache-base3:1.26
	yamt-pagecache-base2:1.26
	yamt-pagecache:1.26.0.18
	yamt-pagecache-base:1.26
	cherry-xenmp:1.26.0.16
	cherry-xenmp-base:1.26
	bouyer-quota2-nbase:1.26
	bouyer-quota2:1.26.0.14
	bouyer-quota2-base:1.26
	matt-mips64-premerge-20101231:1.26
	matt-nb5-mips64-premerge-20101231:1.26
	matt-nb5-pq3:1.26.0.12
	matt-nb5-pq3-base:1.26
	netbsd-5-1:1.26.0.10
	netbsd-5-1-RELEASE:1.26
	netbsd-5-1-RC4:1.26
	matt-nb5-mips64-k15:1.26
	netbsd-5-1-RC3:1.26
	netbsd-5-1-RC2:1.26
	netbsd-5-1-RC1:1.26
	netbsd-5-0-2-RELEASE:1.26
	matt-nb5-mips64-premerge-20091211:1.26
	matt-premerge-20091211:1.26
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.26
	matt-nb4-mips64-k7-u2a-k9b:1.26
	matt-nb5-mips64-u1-k1-k5:1.26
	matt-nb5-mips64:1.26.0.8
	netbsd-5-0-1-RELEASE:1.26
	jym-xensuspend-nbase:1.26
	netbsd-5-0:1.26.0.6
	netbsd-5-0-RELEASE:1.26
	netbsd-5-0-RC4:1.26
	netbsd-5-0-RC3:1.26
	netbsd-5-0-RC2:1.26
	jym-xensuspend:1.26.0.4
	jym-xensuspend-base:1.26
	netbsd-5-0-RC1:1.26
	netbsd-5:1.26.0.2
	netbsd-5-base:1.26
	matt-mips64-base2:1.25
	matt-mips64:1.25.0.36
	netbsd-4-0-1-RELEASE:1.25
	wrstuden-revivesa-base-3:1.25
	wrstuden-revivesa-base-2:1.25
	wrstuden-fixsa-newbase:1.25
	wrstuden-revivesa-base-1:1.25
	yamt-pf42-base4:1.25
	yamt-pf42-base3:1.25
	hpcarm-cleanup-nbase:1.25
	yamt-pf42-baseX:1.25
	yamt-pf42-base2:1.25
	wrstuden-revivesa:1.25.0.34
	wrstuden-revivesa-base:1.25
	yamt-pf42:1.25.0.32
	yamt-pf42-base:1.25
	mjf-devfs2:1.25.0.30
	mjf-devfs2-base:1.25
	keiichi-mipv6-nbase:1.25
	keiichi-mipv6:1.25.0.28
	keiichi-mipv6-base:1.25
	matt-armv6-nbase:1.25
	matt-armv6-prevmlocking:1.25
	wrstuden-fixsa-base-1:1.25
	netbsd-4-0:1.25.0.26
	netbsd-4-0-RELEASE:1.25
	cube-autoconf:1.25.0.24
	cube-autoconf-base:1.25
	netbsd-4-0-RC5:1.25
	netbsd-4-0-RC4:1.25
	netbsd-4-0-RC3:1.25
	netbsd-4-0-RC2:1.25
	netbsd-4-0-RC1:1.25
	matt-armv6:1.25.0.22
	matt-armv6-base:1.25
	matt-mips64-base:1.25
	hpcarm-cleanup:1.25.0.20
	hpcarm-cleanup-base:1.25
	netbsd-3-1-1-RELEASE:1.25
	netbsd-3-0-3-RELEASE:1.25
	wrstuden-fixsa:1.25.0.18
	wrstuden-fixsa-base:1.25
	abandoned-netbsd-4-base:1.25
	abandoned-netbsd-4:1.25.0.12
	netbsd-3-1:1.25.0.14
	netbsd-3-1-RELEASE:1.25
	netbsd-3-0-2-RELEASE:1.25
	netbsd-3-1-RC4:1.25
	netbsd-3-1-RC3:1.25
	netbsd-3-1-RC2:1.25
	netbsd-3-1-RC1:1.25
	netbsd-4:1.25.0.16
	netbsd-4-base:1.25
	netbsd-3-0-1-RELEASE:1.25
	netbsd-3-0:1.25.0.10
	netbsd-3-0-RELEASE:1.25
	netbsd-3-0-RC6:1.25
	netbsd-3-0-RC5:1.25
	netbsd-3-0-RC4:1.25
	netbsd-3-0-RC3:1.25
	netbsd-3-0-RC2:1.25
	netbsd-3-0-RC1:1.25
	netbsd-2-0-3-RELEASE:1.25
	netbsd-2-1:1.25.0.8
	netbsd-2-1-RELEASE:1.25
	netbsd-2-1-RC6:1.25
	netbsd-2-1-RC5:1.25
	netbsd-2-1-RC4:1.25
	netbsd-2-1-RC3:1.25
	netbsd-2-1-RC2:1.25
	netbsd-2-1-RC1:1.25
	netbsd-2-0-2-RELEASE:1.25
	netbsd-3:1.25.0.6
	netbsd-3-base:1.25
	netbsd-2-0-1-RELEASE:1.25
	netbsd-2:1.25.0.4
	netbsd-2-base:1.25
	netbsd-2-0-RELEASE:1.25
	netbsd-2-0-RC5:1.25
	netbsd-2-0-RC4:1.25
	netbsd-2-0-RC3:1.25
	netbsd-2-0-RC2:1.25
	netbsd-2-0-RC1:1.25
	netbsd-2-0:1.25.0.2
	netbsd-2-0-base:1.25
	netbsd-1-6-PATCH002-RELEASE:1.21
	netbsd-1-6-PATCH002:1.21
	netbsd-1-6-PATCH002-RC4:1.21
	netbsd-1-6-PATCH002-RC3:1.21
	netbsd-1-6-PATCH002-RC2:1.21
	netbsd-1-6-PATCH002-RC1:1.21
	netbsd-1-6-PATCH001:1.21
	netbsd-1-6-PATCH001-RELEASE:1.21
	netbsd-1-6-PATCH001-RC3:1.21
	netbsd-1-6-PATCH001-RC2:1.21
	netbsd-1-6-PATCH001-RC1:1.21
	fvdl_fs64_base:1.21
	netbsd-1-6-RELEASE:1.21
	netbsd-1-6-RC3:1.21
	netbsd-1-6-RC2:1.21
	netbsd-1-6-RC1:1.21
	netbsd-1-6:1.21.0.2
	netbsd-1-6-base:1.21
	netbsd-1-5-PATCH003:1.16
	netbsd-1-5-PATCH002:1.16
	netbsd-1-5-PATCH001:1.16
	netbsd-1-5-RELEASE:1.16
	netbsd-1-5-BETA2:1.16
	netbsd-1-5-BETA:1.16
	netbsd-1-4-PATCH003:1.13
	netbsd-1-5-ALPHA2:1.16
	netbsd-1-5:1.16.0.8
	netbsd-1-5-base:1.16
	minoura-xpg4dl:1.16.0.6
	minoura-xpg4dl-base:1.16
	netbsd-1-4-PATCH002:1.13
	wrstuden-devbsize-19991221:1.16
	wrstuden-devbsize:1.16.0.4
	wrstuden-devbsize-base:1.16
	comdex-fall-1999:1.16.0.2
	comdex-fall-1999-base:1.16
	netbsd-1-4-PATCH001:1.13
	netbsd-1-4-RELEASE:1.13
	netbsd-1-4:1.13.0.4
	netbsd-1-4-base:1.13
	netbsd-1-3-PATCH003:1.13
	netbsd-1-3-PATCH003-CANDIDATE2:1.13
	netbsd-1-3-PATCH003-CANDIDATE1:1.13
	netbsd-1-3-PATCH003-CANDIDATE0:1.13
	netbsd-1-3-PATCH002:1.13
	netbsd-1-3-PATCH001:1.13
	netbsd-1-3-RELEASE:1.13
	netbsd-1-3-BETA:1.13
	netbsd-1-3:1.13.0.2
	netbsd-1-3-base:1.13
	lite-2:1.1.1.2
	CSRG:1.1.1
	netbsd-1-2-PATCH001:1.7
	netbsd-1-2-RELEASE:1.7
	netbsd-1-2-BETA:1.7
	netbsd-1-2:1.7.0.6
	netbsd-1-2-base:1.7
	netbsd-1-1-PATCH001:1.7
	netbsd-1-1-RELEASE:1.7
	netbsd-1-1:1.7.0.2
	netbsd-1-1-base:1.7
	netbsd-1-0-PATCH06:1.5
	netbsd-1-0-PATCH05:1.5
	netbsd-1-0-PATCH04:1.5
	netbsd-1-0-PATCH03:1.5
	netbsd-1-0-PATCH02:1.5
	netbsd-1-0-PATCH1:1.5
	netbsd-1-0-PATCH0:1.5
	netbsd-1-0-RELEASE:1.5
	netbsd-1-0:1.5.0.2
	netbsd-1-0-base:1.5
	netbsd-0-9-RELEASE:1.2
	netbsd-0-9-BETA:1.2
	netbsd-0-9-ALPHA2:1.2
	netbsd-0-9-ALPHA:1.2
	netbsd-0-9:1.2.0.2
	netbsd-0-9-base:1.2
	netbsd-0-8:1.2
	netbsd-alpha-1:1.2
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.27
date	2013.02.12.20.46.10;	author christos;	state Exp;
branches;
next	1.26;

1.26
date	2008.10.25.22.27.36;	author apb;	state Exp;
branches
	1.26.18.1
	1.26.24.1;
next	1.25;

1.25
date	2004.03.20.20.41.33;	author dsl;	state Exp;
branches;
next	1.24;

1.24
date	2004.03.20.11.35.15;	author dsl;	state Exp;
branches;
next	1.23;

1.23
date	2003.07.18.08.26.05;	author lukem;	state Exp;
branches;
next	1.22;

1.22
date	2003.06.30.18.52.52;	author wiz;	state Exp;
branches;
next	1.21;

1.21
date	2002.03.17.21.11.32;	author tron;	state Exp;
branches;
next	1.20;

1.20
date	2002.03.16.10.19.58;	author tron;	state Exp;
branches;
next	1.19;

1.19
date	2002.02.09.09.17.27;	author lukem;	state Exp;
branches;
next	1.18;

1.18
date	2001.08.07.10.24.46;	author mrg;	state Exp;
branches;
next	1.17;

1.17
date	2000.09.23.13.53.43;	author simonb;	state Exp;
branches;
next	1.16;

1.16
date	99.08.21.06.27.29;	author simonb;	state Exp;
branches;
next	1.15;

1.15
date	99.08.06.07.32.07;	author pk;	state Exp;
branches;
next	1.14;

1.14
date	99.08.01.17.02.44;	author sommerfeld;	state Exp;
branches;
next	1.13;

1.13
date	97.07.07.18.44.43;	author phil;	state Exp;
branches;
next	1.12;

1.12
date	97.07.07.18.33.30;	author phil;	state Exp;
branches;
next	1.11;

1.11
date	97.05.07.16.06.00;	author mycroft;	state Exp;
branches;
next	1.10;

1.10
date	97.03.26.23.11.15;	author thorpej;	state Exp;
branches;
next	1.9;

1.9
date	97.03.24.21.57.07;	author christos;	state Exp;
branches;
next	1.8;

1.8
date	96.10.18.05.57.14;	author thorpej;	state Exp;
branches;
next	1.7;

1.7
date	95.04.20.02.04.51;	author mycroft;	state Exp;
branches;
next	1.6;

1.6
date	94.12.22.10.42.57;	author cgd;	state Exp;
branches;
next	1.5;

1.5
date	94.02.10.01.54.56;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	93.09.30.23.04.06;	author jtc;	state Exp;
branches;
next	1.3;

1.3
date	93.07.31.15.27.47;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	93.04.09.09.43.43;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.26.18.1
date	2014.05.22.11.37.53;	author yamt;	state Exp;
branches;
next	;
commitid	P3Rlj4go6xHqKwBx;

1.26.24.1
date	2013.02.25.00.28.15;	author tls;	state Exp;
branches;
next	;

1.1.1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.07.07.18.15.01;	author phil;	state Exp;
branches;
next	;


desc
@@


1.27
log
@me.7 is supplied both by groff and here. Don't include both.
@
text
@#	@@(#)Makefile	8.2 (Berkeley) 3/27/94
#	$NetBSD: Makefile,v 1.26 2008/10/25 22:27:36 apb Exp $

.include <bsd.prog.mk>

MELIB=	${BINDIR}/me
#TMLIB=	${BINDIR}/tmac
MESRCS=	acm.me chars.me deltext.me eqn.me float.me footnote.me \
	index.me letterhead.me local.me null.me refer.me sh.me \
	tbl.me thesis.me
#TMSRCS=	tmac.e

.if ${MKGROFF} == "no"
MAN=	me.7
.endif

CLEANFILES+= ${MESRCS:=.tmp}

.for M in ${MESRCS}

proginstall:: ${DESTDIR}${MELIB}/${M}
.if ${MKUPDATE} == "no"
.PHONY: ${DESTDIR}${MELIB}/${M}
.endif
.if !defined(BUILD)
${DESTDIR}${MELIB}/${M}: .MADE
.endif

${DESTDIR}${MELIB}/${M}: ${M}
	@@rm -f ${.TARGET} ${M}.tmp
	${TOOL_SED} -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
	${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
		${M}.tmp ${.TARGET}
	@@rm -f ${M}.tmp
.endfor

#.for M in ${TMSRCS}

#proginstall:: ${DESTDIR}${TMLIB}/${M}
#.if ${MKUPDATE} == "no"
#.PHONY: ${DESTDIR}${TMLIB}/${M}
#.endif
#.if !defined(BUILD)
#${DESTDIR}${TMLIB}/${M}: .MADE
#.endif

#${DESTDIR}${TMLIB}/${M}: ${M}
#	@@rm -f ${.TARGET} ${M}.tmp
#	${TOOL_SED} -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
#	${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
#		${M}.tmp ${.TARGET}
#.endfor

proginstall:: ${DESTDIR}${MELIB}/revisions
.if ${MKUPDATE} == "no"
.PHONY: ${DESTDIR}${MELIB}/revisions
.endif
.if !defined(BUILD)
${DESTDIR}${MELIB}/revisions: .MADE
.endif

${DESTDIR}${MELIB}/revisions: revisions
	${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
	    ${.ALLSRC} ${.TARGET}

@


1.26
log
@Use ${TOOL_SED} instead if plain sed in Makefiles.
@
text
@d2 3
a4 1
#	$NetBSD: Makefile,v 1.25 2004/03/20 20:41:33 dsl Exp $
d12 2
d15 2
a18 2
.include <bsd.prog.mk>

@


1.26.18.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d2 1
a2 3
#	$NetBSD: Makefile,v 1.26 2008/10/25 22:27:36 apb Exp $

.include <bsd.prog.mk>
a9 2

.if ${MKGROFF} == "no"
d11 1
a11 1
.endif
d13 1
a13 1
CLEANFILES+= ${MESRCS:=.tmp}
@


1.26.24.1
log
@resync with head
@
text
@d2 1
a2 3
#	$NetBSD: Makefile,v 1.26 2008/10/25 22:27:36 apb Exp $

.include <bsd.prog.mk>
a9 2

.if ${MKGROFF} == "no"
d11 1
a11 1
.endif
d13 1
a13 1
CLEANFILES+= ${MESRCS:=.tmp}
@


1.25
log
@Don't remove ${.TARGET} - thanks Alexander for pointing it out.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.24 2004/03/20 11:35:15 dsl Exp $
d27 1
a27 1
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
d45 1
a45 1
#	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
@


1.24
log
@rm -f and CLEANFILES all the *.me.tmp files created during install
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.23 2003/07/18 08:26:05 lukem Exp $
d30 1
a30 1
	@@rm -f ${.TARGET} ${M}.tmp
@


1.23
log
@Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.22 2003/06/30 18:52:52 wiz Exp $
d11 1
d30 1
@


1.22
log
@Do not install tmac.e any longer -- use the groff me package instead.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.21 2002/03/17 21:11:32 tron Exp $
d17 1
a17 1
.if !defined(UPDATE)
d34 1
a34 1
#.if !defined(UPDATE)
d49 1
a49 1
.if !defined(UPDATE)
@


1.21
log
@Correct error in last commit: "revisions" should not be removed during
install.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.20 2002/03/16 10:19:58 tron Exp $
d5 1
a5 1
TMLIB=	${BINDIR}/tmac
d9 1
a9 1
TMSRCS=	tmac.e
d31 1
a31 1
.for M in ${TMSRCS}
d33 14
a46 14
proginstall:: ${DESTDIR}${TMLIB}/${M}
.if !defined(UPDATE)
.PHONY: ${DESTDIR}${TMLIB}/${M}
.endif
.if !defined(BUILD)
${DESTDIR}${TMLIB}/${M}: .MADE
.endif

${DESTDIR}${TMLIB}/${M}: ${M}
	@@rm -f ${.TARGET} ${M}.tmp
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
	${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
		${M}.tmp ${.TARGET}
.endfor
@


1.20
log
@Remove "-c" from "${INSTALL_FILE}" to avoid leaving ".tmp" files arround.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.19 2002/02/09 09:17:27 lukem Exp $
d57 1
a57 1
	${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
@


1.19
log
@use ${INSTALL_FILE} as appropriate
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.18 2001/08/07 10:24:46 mrg Exp $
d27 1
a27 1
	${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
d44 1
a44 1
	${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
d57 1
a57 1
	${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
@


1.18
log
@avoid unnecessarily using /tmp during "make install"
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.17 2000/09/23 13:53:43 simonb Exp $
d27 2
a28 2
	${INSTALL} ${RENAME} ${PRESERVE} ${INSTPRIV} -o ${BINOWN} \
	    -g ${BINGRP} -m ${NONBINMODE} ${M}.tmp ${.TARGET}
d44 2
a45 2
	${INSTALL} ${RENAME} ${PRESERVE} ${INSTPRIV} -o ${BINOWN} \
	    -g ${BINGRP} -m ${NONBINMODE} ${M}.tmp ${.TARGET}
d57 1
a57 1
	${INSTALL} ${INSTPRIV} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
@


1.17
log
@Use ${COPY} instead of -c for ${INSTALL} commands.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.16 1999/08/21 06:27:29 simonb Exp $
d25 2
a26 2
	@@rm -f ${.TARGET} /tmp/${M}.tmp
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > /tmp/${M}.tmp
d28 1
a28 1
	    -g ${BINGRP} -m ${NONBINMODE} /tmp/${M}.tmp ${.TARGET}
d42 2
a43 2
	@@rm -f ${.TARGET} /tmp/${M}.tmp
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > /tmp/${M}.tmp
d45 1
a45 1
	    -g ${BINGRP} -m ${NONBINMODE} /tmp/${M}.tmp ${.TARGET}
@


1.16
log
@Use ${INSTPRIV} with ${INSTALL}.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.15 1999/08/06 07:32:07 pk Exp $
d57 1
a57 1
	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
@


1.15
log
@sigh, `make install' should not attempt to create additional files in
the object directory. Work around this by using `/tmp'.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.14 1999/08/01 17:02:44 sommerfeld Exp $
d27 1
a27 1
	${INSTALL} ${RENAME} ${PRESERVE} -o ${BINOWN} \
d44 1
a44 1
	${INSTALL} ${RENAME} ${PRESERVE} -o ${BINOWN} \
d57 2
a58 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.ALLSRC} ${.TARGET}
@


1.14
log
@Use install(1) to install the macro files instead of an ad-hoc equivalent
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.13 1997/07/07 18:44:43 phil Exp $
d25 2
a26 2
	@@rm -f ${.TARGET} ${M}.tmp
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
d28 1
a28 1
	    -g ${BINGRP} -m ${NONBINMODE} ${M}.tmp ${.TARGET}
d42 2
a43 2
	@@rm -f ${.TARGET} ${M}.tmp
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
d45 1
a45 1
	    -g ${BINGRP} -m ${NONBINMODE} ${M}.tmp ${.TARGET}
@


1.13
log
@Restore current NetBSD build, modify paths in me.7.
@
text
@d2 1
a2 1
#	$NetBSD: $
d25 4
a28 4
	@@rm -f ${.TARGET}
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
	@@chown ${BINOWN}:${BINGRP} ${.TARGET}
	@@chmod 444 ${.TARGET}
d42 4
a45 4
	@@rm -f ${.TARGET}
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
	@@chown ${BINOWN}:${BINGRP} ${.TARGET}
	@@chmod 444 ${.TARGET}
@


1.12
log
@Resolve conflicts created by import.
@
text
@d2 1
d9 2
a10 2
TMSRCS=	tmac.orig_me
MAN7=	me.0
d12 46
a57 13
beforeinstall:
	cd ${.CURDIR}; for i in ${MESRCS}; do \
		sed -f strip.sed < $$i > ${DESTDIR}${MELIB}/$$i; \
		chown ${BINOWN}.${BINGRP} ${DESTDIR}${MELIB}/$$i; \
		chmod 444 ${DESTDIR}${MELIB}/$$i; \
	done
	cd ${.CURDIR}; for i in ${TMSRCS}; do \
		sed -f strip.sed < $$i > ${DESTDIR}${TMLIB}/$$i; \
		chown ${BINOWN}.${BINGRP} ${DESTDIR}${TMLIB}/$$i; \
		chmod 444 ${DESTDIR}${TMLIB}/$$i; \
	done
	cd ${.CURDIR}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 revisions \
	    ${DESTDIR}${MELIB}/revisions
a58 1
.include <bsd.prog.mk>
@


1.11
log
@Clean up the proginstall hacks a little.
@
text
@d1 1
a1 2
#	from: @@(#)Makefile	6.11 (Berkeley) 7/1/90
#	$Id: Makefile,v 1.10 1997/03/26 23:11:15 thorpej Exp $
d8 16
a23 2
TMSRCS=	tmac.e
MAN=	me.7
a25 46

.for M in ${MESRCS}

proginstall:: ${DESTDIR}${MELIB}/${M}
.if !defined(UPDATE)
.PHONY: ${DESTDIR}${MELIB}/${M}
.endif
.if !defined(BUILD)
${DESTDIR}${MELIB}/${M}: .MADE
.endif

${DESTDIR}${MELIB}/${M}: ${M}
	@@rm -f ${.TARGET}
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
	@@chown ${BINOWN}:${BINGRP} ${.TARGET}
	@@chmod 444 ${.TARGET}
.endfor

.for M in ${TMSRCS}

proginstall:: ${DESTDIR}${TMLIB}/${M}
.if !defined(UPDATE)
.PHONY: ${DESTDIR}${TMLIB}/${M}
.endif
.if !defined(BUILD)
${DESTDIR}${TMLIB}/${M}: .MADE
.endif

${DESTDIR}${TMLIB}/${M}: ${M}
	@@rm -f ${.TARGET}
	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
	@@chown ${BINOWN}:${BINGRP} ${.TARGET}
	@@chmod 444 ${.TARGET}
.endfor

proginstall:: ${DESTDIR}${MELIB}/revisions
.if !defined(UPDATE)
.PHONY: ${DESTDIR}${MELIB}/revisions
.endif
.if !defined(BUILD)
${DESTDIR}${MELIB}/revisions: .MADE
.endif

${DESTDIR}${MELIB}/revisions: revisions
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.ALLSRC} ${.TARGET}

@


1.10
log
@Make this work with obj dirs.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.9 1997/03/24 21:57:07 christos Exp $
a10 2

realinstall: proginstall
@


1.9
log
@- Makefile cleanups
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.8 1996/10/18 05:57:14 thorpej Exp $
d28 1
a28 1
	sed -f strip.sed < ${.ALLSRC} > ${.TARGET}
d45 1
a45 1
	sed -f strip.sed < ${.ALLSRC} > ${.TARGET}
@


1.8
log
@Use ${INSTALL}.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1995/04/20 02:04:51 mycroft Exp $
d12 1
a12 15
realinstall:
	cd ${.CURDIR}; for i in ${MESRCS}; do \
		rm -f ${DESTDIR}${MELIB}/$$i; \
		sed -f strip.sed < $$i > ${DESTDIR}${MELIB}/$$i; \
		chown ${BINOWN}.${BINGRP} ${DESTDIR}${MELIB}/$$i; \
		chmod 444 ${DESTDIR}${MELIB}/$$i; \
	done
	cd ${.CURDIR}; for i in ${TMSRCS}; do \
		rm -f ${DESTDIR}${TMLIB}/$$i; \
		sed -f strip.sed < $$i > ${DESTDIR}${TMLIB}/$$i; \
		chown ${BINOWN}.${BINGRP} ${DESTDIR}${TMLIB}/$$i; \
		chmod 444 ${DESTDIR}${TMLIB}/$$i; \
	done
	cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
	    revisions ${DESTDIR}${MELIB}/revisions
d15 46
@


1.7
log
@Remove read-only files before trying to rewrite them.  From Greg Hudson.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1994/12/22 10:42:57 cgd Exp $
d25 2
a26 2
	cd ${.CURDIR}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 revisions \
	    ${DESTDIR}${MELIB}/revisions
@


1.6
log
@specify man pages the new way.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.5 1994/02/10 01:54:56 cgd Exp $
d14 1
d20 1
@


1.5
log
@kill bogus install -d's, and clean slightly
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.4 1993/09/30 23:04:06 jtc Exp $
d10 1
a10 1
MAN7=	me.0
@


1.4
log
@Always use `install -d' to make sure directory exists & has correct
ownership and permissions.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.3 1993/07/31 15:27:47 mycroft Exp $
a10 4

beforeinstall:
	@@install -d -o root -g wheel -m 755 ${DESTDIR}${MELIB}
	@@install -d -o root -g wheel -m 755 ${DESTDIR}${TMLIB}
@


1.3
log
@Add RCS indentifiers.
@
text
@d2 1
a2 1
#	$Id: $
d13 4
a16 8
	@@if [ ! -d ${DESTDIR}${MELIB} ]; then \
                /bin/rm -f ${DESTDIR}${MELIB} ; \
                mkdir -p ${DESTDIR}${MELIB} ; \
                chown root.wheel ${DESTDIR}${MELIB} ; \
                chmod 755 ${DESTDIR}${MELIB} ; \
        else \
                true ; \
        fi
a21 8
	@@if [ ! -d ${DESTDIR}${TMLIB} ]; then \
                /bin/rm -f ${DESTDIR}${TMLIB} ; \
                mkdir -p ${DESTDIR}${TMLIB} ; \
                chown root.wheel ${DESTDIR}${TMLIB} ; \
                chmod 755 ${DESTDIR}${TMLIB} ; \
        else \
                true ; \
        fi
@


1.2
log
@make sure directories to install stuff exist before installing
@
text
@d1 2
a2 1
#	@@(#)Makefile	6.11 (Berkeley) 7/1/90
@


1.1
log
@Initial revision
@
text
@d12 8
d25 8
@


1.1.1.1
log
@initial import of 386bsd-0.1 sources
@
text
@@


1.1.1.2
log
@Sync with Lite2
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.2 (Berkeley) 3/27/94
d8 1
a8 1
TMSRCS=	tmac.orig_me
@
