head	1.26;
access;
symbols
	perseant-exfatfs-base-20250801:1.26
	perseant-exfatfs-base-20240630:1.26
	cjep_sun2x:1.26.0.14
	cjep_sun2x-base:1.26
	cjep_staticlib_x-base1:1.26
	cjep_staticlib_x:1.26.0.12
	cjep_staticlib_x-base:1.26
	phil-wifi-20200421:1.26
	phil-wifi-20200411:1.26
	phil-wifi-20200406:1.26
	pgoyette-compat-merge-20190127:1.26
	pgoyette-compat-20190127:1.26
	pgoyette-compat-20190118:1.26
	pgoyette-compat-1226:1.26
	pgoyette-compat-1126:1.26
	pgoyette-compat-1020:1.26
	pgoyette-compat-0930:1.26
	pgoyette-compat-0906:1.26
	netbsd-7-2-RELEASE:1.25
	pgoyette-compat-0728:1.26
	pgoyette-compat-0625:1.26
	pgoyette-compat-0521:1.26
	pgoyette-compat-0502:1.26
	pgoyette-compat-0422:1.26
	pgoyette-compat-0415:1.26
	pgoyette-compat-0407:1.26
	pgoyette-compat-0330:1.26
	pgoyette-compat-0322:1.26
	pgoyette-compat-0315:1.26
	netbsd-7-1-2-RELEASE:1.25
	pgoyette-compat:1.26.0.10
	pgoyette-compat-base:1.26
	netbsd-7-1-1-RELEASE:1.25
	perseant-stdc-iso10646:1.26.0.8
	perseant-stdc-iso10646-base:1.26
	prg-localcount2-base3:1.26
	prg-localcount2-base2:1.26
	prg-localcount2-base1:1.26
	prg-localcount2:1.26.0.6
	prg-localcount2-base:1.26
	pgoyette-localcount-20170426:1.26
	bouyer-socketcan-base1:1.26
	pgoyette-localcount-20170320:1.26
	netbsd-7-1:1.25.0.30
	netbsd-7-1-RELEASE:1.25
	netbsd-7-1-RC2:1.25
	netbsd-7-nhusb-base-20170116:1.25
	bouyer-socketcan:1.26.0.4
	bouyer-socketcan-base:1.26
	pgoyette-localcount-20170107:1.26
	netbsd-7-1-RC1:1.25
	pgoyette-localcount-20161104:1.26
	netbsd-7-0-2-RELEASE:1.25
	localcount-20160914:1.26
	netbsd-7-nhusb:1.25.0.28
	netbsd-7-nhusb-base:1.25
	pgoyette-localcount-20160806:1.26
	pgoyette-localcount-20160726:1.26
	pgoyette-localcount:1.26.0.2
	pgoyette-localcount-base:1.26
	netbsd-7-0-1-RELEASE:1.25
	netbsd-7-0:1.25.0.26
	netbsd-7-0-RELEASE:1.25
	netbsd-7-0-RC3:1.25
	netbsd-7-0-RC2:1.25
	netbsd-7-0-RC1:1.25
	netbsd-5-2-3-RELEASE:1.24
	netbsd-5-1-5-RELEASE:1.24
	netbsd-6-0-6-RELEASE:1.25
	netbsd-6-1-5-RELEASE:1.25
	netbsd-7:1.25.0.24
	netbsd-7-base:1.25
	yamt-pagecache-base9:1.25
	yamt-pagecache-tag8:1.25
	netbsd-6-1-4-RELEASE:1.25
	netbsd-6-0-5-RELEASE:1.25
	tls-earlyentropy:1.25.0.22
	tls-earlyentropy-base:1.25
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.25
	riastradh-drm2-base3:1.25
	netbsd-6-1-3-RELEASE:1.25
	netbsd-6-0-4-RELEASE:1.25
	netbsd-5-2-2-RELEASE:1.24
	netbsd-5-1-4-RELEASE:1.24
	netbsd-6-1-2-RELEASE:1.25
	netbsd-6-0-3-RELEASE:1.25
	netbsd-5-2-1-RELEASE:1.24
	netbsd-5-1-3-RELEASE:1.24
	netbsd-6-1-1-RELEASE:1.25
	riastradh-drm2-base2:1.25
	riastradh-drm2-base1:1.25
	riastradh-drm2:1.25.0.16
	riastradh-drm2-base:1.25
	netbsd-6-1:1.25.0.20
	netbsd-6-0-2-RELEASE:1.25
	netbsd-6-1-RELEASE:1.25
	netbsd-6-1-RC4:1.25
	netbsd-6-1-RC3:1.25
	agc-symver:1.25.0.18
	agc-symver-base:1.25
	netbsd-6-1-RC2:1.25
	netbsd-6-1-RC1:1.25
	yamt-pagecache-base8:1.25
	netbsd-5-2:1.24.0.14
	netbsd-6-0-1-RELEASE:1.25
	yamt-pagecache-base7:1.25
	netbsd-5-2-RELEASE:1.24
	netbsd-5-2-RC1:1.24
	matt-nb6-plus-nbase:1.25
	yamt-pagecache-base6:1.25
	netbsd-6-0:1.25.0.14
	netbsd-6-0-RELEASE:1.25
	netbsd-6-0-RC2:1.25
	tls-maxphys:1.25.0.12
	tls-maxphys-base:1.25
	matt-nb6-plus:1.25.0.10
	matt-nb6-plus-base:1.25
	netbsd-6-0-RC1:1.25
	yamt-pagecache-base5:1.25
	yamt-pagecache-base4:1.25
	netbsd-6:1.25.0.8
	netbsd-6-base:1.25
	netbsd-5-1-2-RELEASE:1.24
	netbsd-5-1-1-RELEASE:1.24
	yamt-pagecache-base3:1.25
	yamt-pagecache-base2:1.25
	yamt-pagecache:1.25.0.6
	yamt-pagecache-base:1.25
	cherry-xenmp:1.25.0.4
	cherry-xenmp-base:1.25
	bouyer-quota2-nbase:1.25
	bouyer-quota2:1.25.0.2
	bouyer-quota2-base:1.25
	matt-mips64-premerge-20101231:1.25
	matt-nb5-mips64-premerge-20101231:1.24
	matt-nb5-pq3:1.24.0.12
	matt-nb5-pq3-base:1.24
	netbsd-5-1:1.24.0.10
	netbsd-5-1-RELEASE:1.24
	netbsd-5-1-RC4:1.24
	matt-nb5-mips64-k15:1.24
	netbsd-5-1-RC3:1.24
	netbsd-5-1-RC2:1.24
	netbsd-5-1-RC1:1.24
	netbsd-5-0-2-RELEASE:1.24
	matt-nb5-mips64-premerge-20091211:1.24
	matt-premerge-20091211:1.25
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.24
	matt-nb4-mips64-k7-u2a-k9b:1.24
	matt-nb5-mips64-u1-k1-k5:1.24
	matt-nb5-mips64:1.24.0.8
	netbsd-5-0-1-RELEASE:1.24
	jym-xensuspend-nbase:1.25
	netbsd-5-0:1.24.0.6
	netbsd-5-0-RELEASE:1.24
	netbsd-5-0-RC4:1.24
	netbsd-5-0-RC3:1.24
	netbsd-5-0-RC2:1.24
	jym-xensuspend:1.24.0.4
	jym-xensuspend-base:1.25
	netbsd-5-0-RC1:1.24
	netbsd-5:1.24.0.2
	netbsd-5-base:1.24
	matt-mips64-base2:1.23
	matt-mips64:1.23.0.24
	mjf-devfs2:1.23.0.22
	mjf-devfs2-base:1.23
	netbsd-4-0-1-RELEASE:1.23
	wrstuden-revivesa-base-3:1.23
	wrstuden-revivesa-base-2:1.23
	wrstuden-fixsa-newbase:1.23
	wrstuden-revivesa-base-1:1.23
	yamt-pf42-base4:1.23
	yamt-pf42-base3:1.23
	hpcarm-cleanup-nbase:1.23
	yamt-pf42-baseX:1.23
	yamt-pf42-base2:1.23
	wrstuden-revivesa:1.23.0.20
	wrstuden-revivesa-base:1.23
	yamt-pf42:1.23.0.18
	yamt-pf42-base:1.23
	keiichi-mipv6:1.23.0.16
	keiichi-mipv6-base:1.23
	matt-armv6-nbase:1.23
	matt-armv6-prevmlocking:1.23
	wrstuden-fixsa-base-1:1.23
	netbsd-4-0:1.23.0.14
	netbsd-4-0-RELEASE:1.23
	cube-autoconf:1.23.0.12
	cube-autoconf-base:1.23
	netbsd-4-0-RC5:1.23
	netbsd-4-0-RC4:1.23
	netbsd-4-0-RC3:1.23
	netbsd-4-0-RC2:1.23
	netbsd-4-0-RC1:1.23
	matt-armv6:1.23.0.10
	matt-armv6-base:1.23
	matt-mips64-base:1.23
	hpcarm-cleanup:1.23.0.8
	hpcarm-cleanup-base:1.23
	netbsd-3-1-1-RELEASE:1.22
	netbsd-3-0-3-RELEASE:1.22
	wrstuden-fixsa:1.23.0.6
	wrstuden-fixsa-base:1.23
	abandoned-netbsd-4-base:1.23
	abandoned-netbsd-4:1.23.0.2
	netbsd-3-1:1.22.0.6
	netbsd-3-1-RELEASE:1.22
	netbsd-3-0-2-RELEASE:1.22
	netbsd-3-1-RC4:1.22
	netbsd-3-1-RC3:1.22
	netbsd-3-1-RC2:1.22
	netbsd-3-1-RC1:1.22
	netbsd-4:1.23.0.4
	netbsd-4-base:1.23
	netbsd-3-0-1-RELEASE:1.22
	netbsd-3-0:1.22.0.4
	netbsd-3-0-RELEASE:1.22
	netbsd-3-0-RC6:1.22
	netbsd-3-0-RC5:1.22
	netbsd-3-0-RC4:1.22
	netbsd-3-0-RC3:1.22
	netbsd-3-0-RC2:1.22
	netbsd-3-0-RC1:1.22
	netbsd-2-0-3-RELEASE:1.20
	netbsd-2-1:1.20.0.6
	netbsd-2-1-RELEASE:1.20
	netbsd-2-1-RC6:1.20
	netbsd-2-1-RC5:1.20
	netbsd-2-1-RC4:1.20
	netbsd-2-1-RC3:1.20
	netbsd-2-1-RC2:1.20
	netbsd-2-1-RC1:1.20
	netbsd-2-0-2-RELEASE:1.20
	netbsd-3:1.22.0.2
	netbsd-3-base:1.22
	netbsd-2-0-1-RELEASE:1.20
	netbsd-2:1.20.0.4
	netbsd-2-base:1.20
	netbsd-2-0-RELEASE:1.20
	netbsd-2-0-RC5:1.20
	netbsd-2-0-RC4:1.20
	netbsd-2-0-RC3:1.20
	netbsd-2-0-RC2:1.20
	netbsd-2-0-RC1:1.20
	netbsd-2-0:1.20.0.2
	netbsd-2-0-base:1.20
	netbsd-1-6-PATCH002-RELEASE:1.12
	netbsd-1-6-PATCH002:1.12
	netbsd-1-6-PATCH002-RC4:1.12
	netbsd-1-6-PATCH002-RC3:1.12
	netbsd-1-6-PATCH002-RC2:1.12
	netbsd-1-6-PATCH002-RC1:1.12
	FREEBSD_20030630:1.1.1.2
	FREEBSD:1.1.1
	WIZ_20030630_PRE_1_19:1.12
	netbsd-1-6-PATCH001:1.12
	netbsd-1-6-PATCH001-RELEASE:1.12
	netbsd-1-6-PATCH001-RC3:1.12
	netbsd-1-6-PATCH001-RC2:1.12
	netbsd-1-6-PATCH001-RC1:1.12
	fvdl_fs64_base:1.12
	netbsd-1-6-RELEASE:1.12
	netbsd-1-6-RC3:1.12
	netbsd-1-6-RC2:1.12
	netbsd-1-6-RC1:1.12
	netbsd-1-6:1.12.0.2
	netbsd-1-6-base:1.12
	netbsd-1-5-PATCH003:1.11
	netbsd-1-5-PATCH002:1.11
	netbsd-1-5-PATCH001:1.11
	groff-1-16-1-reachover:1.1.1.1
	TNF:1.1.1
	netbsd-1-5-RELEASE:1.11
	netbsd-1-5-BETA2:1.11
	netbsd-1-5-BETA:1.11
	netbsd-1-4-PATCH003:1.11
	netbsd-1-5-ALPHA2:1.11
	netbsd-1-5:1.11.0.8
	netbsd-1-5-base:1.11
	netbsd-1-4-PATCH002:1.11
	wrstuden-devbsize-19991221:1.11
	wrstuden-devbsize:1.11.0.6
	wrstuden-devbsize-base:1.11
	comdex-fall-1999:1.11.0.4
	comdex-fall-1999-base:1.11
	netbsd-1-4-PATCH001:1.11
	netbsd-1-4-RELEASE:1.11
	netbsd-1-4:1.11.0.2
	netbsd-1-4-base:1.11
	netbsd-1-3-PATCH003:1.8
	netbsd-1-3-PATCH003-CANDIDATE2:1.8
	netbsd-1-3-PATCH003-CANDIDATE1:1.8
	netbsd-1-3-PATCH003-CANDIDATE0:1.8
	netbsd-1-3-PATCH002:1.8
	netbsd-1-3-PATCH001:1.8
	netbsd-1-3-RELEASE:1.8
	netbsd-1-3-BETA:1.8
	netbsd-1-3:1.8.0.2
	netbsd-1-3-base:1.8
	netbsd-1-2-PATCH001:1.5
	netbsd-1-2-RELEASE:1.5
	explorer-groff-upgrade:1.5
	netbsd-1-2-BETA:1.5
	netbsd-1-2-base:1.5
	netbsd-1-2:1.5.0.6
	netbsd-1-1-PATCH001:1.5
	netbsd-1-1-RELEASE:1.5
	netbsd-1-1:1.5.0.2
	netbsd-1-1-base:1.5
	netbsd-1-0-PATCH06:1.4
	netbsd-1-0-PATCH05:1.4
	netbsd-1-0-PATCH04:1.4
	netbsd-1-0-PATCH03:1.4
	netbsd-1-0-PATCH02:1.4
	netbsd-1-0-PATCH1:1.4
	netbsd-1-0-PATCH0:1.4
	netbsd-1-0-RELEASE:1.4
	netbsd-1-0:1.4.0.2
	netbsd-1-0-base:1.4
	netbsd-0-9-RELEASE:1.3
	netbsd-0-9-BETA:1.3
	netbsd-0-9-ALPHA2:1.3
	netbsd-0-9-ALPHA:1.3
	netbsd-0-9:1.3.0.2
	netbsd-0-9-base:1.3;
locks; strict;
comment	@# @;


1.26
date	2016.01.13.19.03.15;	author christos;	state dead;
branches;
next	1.25;
commitid	44lNzn9sRDftTNQy;

1.25
date	2009.04.12.17.56.35;	author joerg;	state Exp;
branches;
next	1.24;

1.24
date	2008.10.25.22.27.35;	author apb;	state Exp;
branches
	1.24.4.1;
next	1.23;

1.23
date	2006.02.06.18.29.48;	author wiz;	state Exp;
branches;
next	1.22;

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

1.21
date	2004.06.24.04.38.29;	author jmc;	state Exp;
branches;
next	1.20;

1.20
date	2003.12.12.06.08.30;	author jmc;	state Exp;
branches;
next	1.19;

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

1.18
date	2003.10.20.00.54.37;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	2003.07.01.13.58.37;	author wiz;	state Exp;
branches;
next	1.16;

1.16
date	2003.07.01.13.48.24;	author wiz;	state Exp;
branches;
next	1.15;

1.15
date	2003.06.30.18.47.57;	author wiz;	state Exp;
branches;
next	1.14;

1.14
date	2003.06.30.18.41.05;	author wiz;	state Exp;
branches;
next	1.13;

1.13
date	2003.06.30.18.34.24;	author wiz;	state Exp;
branches;
next	1.12;

1.12
date	2001.04.19.14.41.43;	author wiz;	state Exp;
branches;
next	1.11;

1.11
date	99.02.13.02.54.28;	author lukem;	state Exp;
branches;
next	1.10;

1.10
date	98.09.27.17.22.05;	author lukem;	state Exp;
branches;
next	1.9;

1.9
date	98.02.09.04.22.26;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	97.03.24.22.06.33;	author christos;	state Exp;
branches;
next	1.7;

1.7
date	96.10.18.03.06.40;	author thorpej;	state Exp;
branches;
next	1.6;

1.6
date	96.08.13.07.08.12;	author explorer;	state Exp;
branches;
next	1.5;

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

1.4
date	93.08.02.17.45.24;	author mycroft;	state Exp;
branches;
next	1.3;

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

1.2
date	93.07.17.00.51.03;	author jtc;	state Exp;
branches;
next	1.1;

1.1
date	93.07.15.16.40.56;	author jtc;	state Exp;
branches
	1.1.1.1;
next	;

1.24.4.1
date	2009.05.13.19.18.18;	author jym;	state Exp;
branches;
next	;

1.1.1.1
date	2001.04.19.14.33.14;	author wiz;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2003.06.30.18.19.53;	author wiz;	state Exp;
branches;
next	;


desc
@@


1.26
log
@unhook groff
@
text
@# $NetBSD: Makefile,v 1.25 2009/04/12 17:56:35 joerg Exp $

# $FreeBSD: src/gnu/usr.bin/groff/tmac/Makefile,v 1.41 2003/05/01 13:22:21 ru Exp $

SUBDIR=	man

TMACOWN?=	${BINOWN}
TMACGRP?=	${BINGRP}
TMACMODE?=	${NOBINMODE}
# XXX: next depends on ../src/include/defs.h
TMACDIR?=	/usr/share/tmac
MDOCDIR?=	${TMACDIR}/mdoc

CLEANFILES=	${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}

# XXX: hyphen.ru
NORMALFILES=	mandoc.tmac andoc.tmac an-old.tmac \
		me.tmac \
		mdoc.tmac \
		pic.tmac \
		a4.tmac \
		papersize.tmac \
		ec.tmac \
		safer.tmac \
		trace.tmac \
		ps.tmac psold.tmac pspic.tmac psatk.tmac \
		dvi.tmac \
		tty.tmac tty-char.tmac \
		latin1.tmac latin2.tmac latin9.tmac cp1047.tmac ascii.tmac \
		unicode.tmac \
		X.tmac Xps.tmac \
		lj4.tmac \
		lbp.tmac \
		html.tmac html-end.tmac \
		devtag.tmac \
		europs.tmac \
		composite.tmac \
		eqnrc \
		troffrc troffrc-end \
		hyphen.us hyphenex.us
SPECIALFILES=	an.tmac man.tmac s.tmac ms.tmac www.tmac
STRIPFILES=	e.tmac doc.tmac man.local mdoc.local
MDOCFILES=	doc-common doc-ditroff doc-nroff doc-syms \
		fr.ISO8859-1 ru.KOI8-R

.include <bsd.own.mk>

.if ${MKSHARE} != "no"
FILESDIR=	${TMACDIR}
realall: ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}

.for f in ${MDOCFILES}
FILES+= $f-s
FILESNAME_$f-s=mdoc/$f
$f-s: $f
	${_MKTARGET_CREATE}
	${TOOL_SED} -f ${DIST_DIR}/strip.sed ${.ALLSRC} > ${.TARGET}
.endfor

.for f in ${STRIPFILES}
FILES+= $f-s
FILESNAME_$f-s=$f
$f-s: $f
	${_MKTARGET_CREATE}
	${TOOL_SED} -f ${DIST_DIR}/strip.sed ${.ALLSRC} > ${.TARGET}
.endfor

.for f in ${SPECIALFILES}
FILES+= $f-s
FILESNAME_$f-s=$f
$f-s: $f
	${_MKTARGET_CREATE}
	${TOOL_SED} -e "s;@@TMAC_AN_PREFIX@@;${tmac_an_prefix};g" \
	    -e "s;@@TMAC_S_PREFIX@@;${tmac_s_prefix};g" \
	    -e "s;@@PNMTOPS_NOSETPAGE@@;pnmtops -nosetpage;g" \
		${.ALLSRC} > ${.TARGET}
.endfor

FILES+=	${NORMALFILES}
.endif

.include <bsd.prog.mk>
.include <bsd.subdir.mk>
@


1.25
log
@Install some default transliterations for man pages. If nroff is used
with ASCII as output, encode the German umlaut and szet characters with
the normal transliteration rules.

OK wiz@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2008/10/25 22:27:35 apb Exp $
@


1.24
log
@Use ${TOOL_SED} instead if plain sed in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2006/02/06 18:29:48 wiz Exp $
d29 1
a29 1
		latin1.tmac latin2.tmac latin9.tmac cp1047.tmac \
@


1.24.4.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2009/04/12 17:56:35 joerg Exp $
d29 1
a29 1
		latin1.tmac latin2.tmac latin9.tmac cp1047.tmac ascii.tmac \
@


1.23
log
@Update for groff-1.19.2. With a little help from FreeBSD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2004/07/30 15:04:19 wiz Exp $
d57 1
a57 1
	sed -f ${DIST_DIR}/strip.sed ${.ALLSRC} > ${.TARGET}
d65 1
a65 1
	sed -f ${DIST_DIR}/strip.sed ${.ALLSRC} > ${.TARGET}
d73 1
a73 1
	sed -e "s;@@TMAC_AN_PREFIX@@;${tmac_an_prefix};g" \
@


1.22
log
@Update for groff-1.19.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2004/06/24 04:38:29 jmc Exp $
d29 2
a30 1
		latin1.tmac latin2.tmac latin5.tmac latin9.tmac cp1047.tmac \
d35 1
@


1.21
log
@Redo the layout here by moving man stuff into a subdir. This is only needed here
due to andoc.tmac being generated here and it'll end up in the depend tree
for installation (during dependall) if DESTDIR=/ and USETOOLS=no/never which
will lose for most people. Fixes final part of PR#23067
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2003/12/12 06:08:30 jmc Exp $
d29 1
a29 1
		latin1.tmac latin2.tmac latin9.tmac cp1047.tmac \
@


1.20
log
@Needs USETBL or the ms man page comes out wrong.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2003/10/21 10:01:20 lukem Exp $
d5 2
d14 1
a14 11
# For ms.7
USETBL=

MAN=		groff_ms.7 groff_man.7 groff_me.7 groff_mdoc.7
MAN+=		groff_trace.7 groff_www.7
MLINKS=		groff_ms.7 ms.7
MLINKS+=	groff_man.7 man.7
MLINKS+=	groff_me.7 me.7
MLINKS+=	groff_mdoc.7 mdoc.7 groff_mdoc.7 mdoc.samples.7

CLEANFILES=	${MAN} ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}
d81 1
@


1.19
log
@Rework how MAKEVERBOSE operates:

    *	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2003/10/20 00:54:37 lukem Exp $
d11 3
@


1.18
log
@* Support MAKEVERBOSE
* Implement GROFFYSRCS, which contain a list of .y files to convert into
  .cpp and _tab.h.  Simplifies .y -> .cpp (et al) .
* Use "realall" target instead of "dependall"/"install" to ensure that
  various files are created correctly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2003/07/01 13:58:37 wiz Exp $
d59 1
a59 2
	${_MKMSGCREATE}
	${_MKCMD}\
d67 1
a67 2
	${_MKMSGCREATE}
	${_MKCMD}\
d75 1
a75 2
	${_MKMSGCREATE}
	${_MKCMD}\
@


1.17
log
@Add missing .endif. Noted by Juan RP.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2003/07/01 13:48:24 wiz Exp $
d53 1
a53 2
dependall: ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}
install: ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}
d59 2
d68 2
d77 2
@


1.16
log
@Remove some unused code.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2003/06/30 18:47:57 wiz Exp $
d81 1
@


1.15
log
@Add NetBSD RCS Id.
@
text
@d1 1
a1 1
# $NetBSD$
a80 15

donotbeforeinstall:
.for f in ${STRIPFILES} ${SPECIALFILES}
	${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
	    $f-s ${DESTDIR}${TMACDIR}/$f
.endfor
.for f in ${MDOCFILES}
	${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
	    $f-s ${DESTDIR}${MDOCDIR}/$f
.endfor
.if !exists(${DESTDIR}${TMACDIR}/man.local)
	${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
	    ${DIST_DIR}/man.local ${DESTDIR}${TMACDIR}
.endif
.endif
@


1.14
log
@Make groff-1.19 build on NetBSD.
@
text
@d1 2
@


1.13
log
@Replace old build structure with FreBSD one (local changes in next commit).
@
text
@d6 2
a7 1
TMACDIR?=	${SHAREDIR}/tmac
d19 1
d43 1
a43 1
STRIPFILES=	e.tmac doc.tmac mdoc.local
d47 1
a47 1
all: ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}
d49 15
a63 1
.for f in ${MDOCFILES} ${STRIPFILES}
d69 2
d74 1
a74 1
	    -e "s;@@PNMTOPS_NOSETPAGE@@;pnmtops;g" \
d78 3
a80 8
beforeinstall:
	cd ${DIST_DIR}; \
	    ${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
	    ${NORMALFILES} ${DESTDIR}${TMACDIR}
	cd ${.CURDIR}; \
	    ${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
	    hyphen.ru ${DESTDIR}${TMACDIR}
	cd ${.OBJDIR}
d82 1
a82 1
	${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
d86 1
a86 1
	${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
d90 1
a90 1
	${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
d92 1
@


1.12
log
@Remove old groff files from usr.bin.
Pull up reach-over to head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2001/04/19 14:33:14 wiz Exp $
d3 76
a78 27
.include "../Makefile.path"

.PATH:		${IDIST}/tmac

.include <bsd.own.mk>

# XXX -- this depends on ../include/defs.h
TMACDIR?=	/usr/share/tmac

TMACOWN?=	${FILESOWN}
TMACGRP?=	${FILESGRP}
TMACMODE?=	${FILESMODE}

# don't install groff_mdoc.7 and groff_mdoc.samples.7, ours are newer
# also don't install groff_me.7, since we're using our own tmac.e and me.7
MAN=		groff_man.7 groff_markup.7 groff_ms.7 groff_msafer.7 \
		groff_tmac.5
MLINKS=		groff_ms.7 ms.7 groff_msafer.7 msafer.7

.if ${MKSHARE} != "no"
FILES=		tmac.pic tmac.ps tmac.psnew tmac.psold tmac.pspic tmac.psatk \
		tmac.dvi tmac.tty tmac.tty-char tmac.X tmac.Xps tmac.latin1 \
		tmac.lj4 tmac.safer tmac.a4 tmac.s tmac.an man.local eqnrc \
		troffrc tmac.arkup tmac.html tmac.trace troffrc-end

FILESDIR=	${TMACDIR}
FILESNAME_tmac.an=tmac.an.old
@


1.11
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 5
a5 1
#	$NetBSD: Makefile,v 1.10 1998/09/27 17:22:05 lukem Exp $
d16 5
a20 2
MAN=		groff_ms.7 msafer.7
MLINKS=		groff_ms.7 ms.7
d23 2
a24 2
FILES=		tmac.pic tmac.ps tmac.psnew tmac.psold tmac.pspic tmac.psatk\
		tmac.dvi tmac.tty tmac.tty-char tmac.X tmac.Xps tmac.latin1\
d26 1
a26 1
		troffrc
a31 1
.include "../Makefile.cfg"
@


1.10
log
@don't install in /usr/share if NOSHARE is defined
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.9 1998/02/09 04:22:26 lukem Exp $
d15 1
a15 1
.if !defined(NOSHARE)
@


1.9
log
@${TMAC,FONT}{OWN,GRP,MODE} default to $FILE{OWN,GRP,MODE}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1997/03/24 22:06:33 christos Exp $
d13 1
d21 1
a21 1

@


1.8
log
@Makefile cleanups
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1996/10/18 03:06:40 thorpej Exp $
d6 3
a8 3
TMACOWN?=	bin
TMACGRP?=	bin
TMACMODE?=	444
a17 3
FILESOWN=	${TMACOWN}
FILESGRP=	${TMACGRP}
FILESMODE=	${TMACMODE}
@


1.7
log
@Use ${INSTALL}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1996/08/13 07:08:12 explorer Exp $
d15 8
a22 1
		tmac.lj4 tmac.safer tmac.a4 man.local eqnrc troffrc
a23 9
afterinstall:
	for f in ${FILES}; do \
		${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
			${.CURDIR}/$$f ${DESTDIR}${TMACDIR}; \
	done
	${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
		${.CURDIR}/tmac.s ${DESTDIR}${TMACDIR}/tmac.s
	${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
		${.CURDIR}/tmac.an ${DESTDIR}${TMACDIR}/tmac.an.old
@


1.6
log
@Upgrade groff to 1.10
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1994/12/22 09:45:20 cgd Exp $
d19 1
a19 1
		install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
d22 1
a22 1
	install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
d24 1
a24 1
	install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
@


1.5
log
@specify man pages the new way.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1993/08/02 17:45:24 mycroft Exp $
d10 1
a10 1
MAN=		groff_ms.7
d15 1
a15 1
		man.local eqnrc troffrc
@


1.4
log
@Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
@
text
@d1 1
a1 1
#	$Id: $
d10 1
a10 1
MAN7=		groff_ms.0 
@


1.3
log
@Fix some lossage that was caused bsd.prog.mk to be included twice.
@
text
@d1 1
a1 1
# Makefile for groff macros
@


1.2
log
@Install tmac.s correctly.
@
text
@d27 1
a28 1
.include "../Makefile.cfg"
@


1.1
log
@Check in remainder of groff 1.08
@
text
@d3 3
a8 1
TMACDIR?=	/usr/share/tmac
d23 1
a23 1
		${.CURDIR}/tmac.s ${DESTDIR}${TMACDIR}/tmac.${tmac_s}
@


1.1.1.1
log
@New reachover build structure for groff 1.16.1.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 3
a5 7
.include "../Makefile.path"

.PATH:		${IDIST}/tmac

.include <bsd.own.mk>

# XXX -- this depends on ../include/defs.h
d8 2
a9 15
TMACOWN?=	${FILESOWN}
TMACGRP?=	${FILESGRP}
TMACMODE?=	${FILESMODE}

# don't install groff_mdoc.7 and groff_mdoc.samples.7, ours are newer
# also don't install groff_me.7, since we're using our own tmac.e and me.7
MAN=		groff_man.7 groff_markup.7 groff_ms.7 groff_msafer.7 \
		groff_tmac.5
MLINKS=		groff_ms.7 ms.7 groff_msafer.7 msafer.7

.if ${MKSHARE} != "no"
FILES=		tmac.pic tmac.ps tmac.psnew tmac.psold tmac.pspic tmac.psatk \
		tmac.dvi tmac.tty tmac.tty-char tmac.X tmac.Xps tmac.latin1 \
		tmac.lj4 tmac.safer tmac.a4 tmac.s tmac.an man.local eqnrc \
		troffrc tmac.arkup tmac.html tmac.trace troffrc-end
d11 13
a23 3
FILESDIR=	${TMACDIR}
FILESNAME_tmac.an=tmac.an.old
.endif
d26 1
@


1.1.1.2
log
@Import groff-1.19 build structure from FreeBSD.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/groff/tmac/Makefile,v 1.41 2003/05/01 13:22:21 ru Exp $
d3 27
a29 76
TMACOWN?=	${BINOWN}
TMACGRP?=	${BINGRP}
TMACMODE?=	${NOBINMODE}
TMACDIR?=	${SHAREDIR}/tmac
MDOCDIR?=	${TMACDIR}/mdoc

MAN=		groff_ms.7 groff_man.7 groff_me.7 groff_mdoc.7
MAN+=		groff_trace.7 groff_www.7
MLINKS=		groff_ms.7 ms.7
MLINKS+=	groff_man.7 man.7
MLINKS+=	groff_me.7 me.7
MLINKS+=	groff_mdoc.7 mdoc.7 groff_mdoc.7 mdoc.samples.7

CLEANFILES=	${MAN} ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}

NORMALFILES=	mandoc.tmac andoc.tmac an-old.tmac \
		me.tmac \
		mdoc.tmac \
		pic.tmac \
		a4.tmac \
		papersize.tmac \
		ec.tmac \
		safer.tmac \
		trace.tmac \
		ps.tmac psold.tmac pspic.tmac psatk.tmac \
		dvi.tmac \
		tty.tmac tty-char.tmac \
		latin1.tmac latin2.tmac latin9.tmac cp1047.tmac \
		X.tmac Xps.tmac \
		lj4.tmac \
		lbp.tmac \
		html.tmac html-end.tmac \
		europs.tmac \
		composite.tmac \
		eqnrc \
		troffrc troffrc-end \
		hyphen.us hyphenex.us
SPECIALFILES=	an.tmac man.tmac s.tmac ms.tmac www.tmac
STRIPFILES=	e.tmac doc.tmac mdoc.local
MDOCFILES=	doc-common doc-ditroff doc-nroff doc-syms \
		fr.ISO8859-1 ru.KOI8-R

all: ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}

.for f in ${MDOCFILES} ${STRIPFILES}
$f-s: $f
	sed -f ${DIST_DIR}/strip.sed ${.ALLSRC} > ${.TARGET}
.endfor

.for f in ${SPECIALFILES}
$f-s: $f
	sed -e "s;@@TMAC_AN_PREFIX@@;${tmac_an_prefix};g" \
	    -e "s;@@TMAC_S_PREFIX@@;${tmac_s_prefix};g" \
	    -e "s;@@PNMTOPS_NOSETPAGE@@;pnmtops;g" \
		${.ALLSRC} > ${.TARGET}
.endfor

beforeinstall:
	cd ${DIST_DIR}; \
	    ${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
	    ${NORMALFILES} ${DESTDIR}${TMACDIR}
	cd ${.CURDIR}; \
	    ${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
	    hyphen.ru ${DESTDIR}${TMACDIR}
	cd ${.OBJDIR}
.for f in ${STRIPFILES} ${SPECIALFILES}
	${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
	    $f-s ${DESTDIR}${TMACDIR}/$f
.endfor
.for f in ${MDOCFILES}
	${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
	    $f-s ${DESTDIR}${MDOCDIR}/$f
.endfor
.if !exists(${DESTDIR}${TMACDIR}/man.local)
	${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
	    ${DIST_DIR}/man.local ${DESTDIR}${TMACDIR}
@


