head	1.10;
access;
symbols
	perseant-exfatfs-base-20250801:1.10
	perseant-exfatfs-base-20240630:1.10
	cjep_sun2x:1.10.0.14
	cjep_sun2x-base:1.10
	cjep_staticlib_x-base1:1.10
	cjep_staticlib_x:1.10.0.12
	cjep_staticlib_x-base:1.10
	phil-wifi-20200421:1.10
	phil-wifi-20200411:1.10
	phil-wifi-20200406:1.10
	pgoyette-compat-merge-20190127:1.10
	pgoyette-compat-20190127:1.10
	pgoyette-compat-20190118:1.10
	pgoyette-compat-1226:1.10
	pgoyette-compat-1126:1.10
	pgoyette-compat-1020:1.10
	pgoyette-compat-0930:1.10
	pgoyette-compat-0906:1.10
	netbsd-7-2-RELEASE:1.9
	pgoyette-compat-0728:1.10
	pgoyette-compat-0625:1.10
	pgoyette-compat-0521:1.10
	pgoyette-compat-0502:1.10
	pgoyette-compat-0422:1.10
	pgoyette-compat-0415:1.10
	pgoyette-compat-0407:1.10
	pgoyette-compat-0330:1.10
	pgoyette-compat-0322:1.10
	pgoyette-compat-0315:1.10
	netbsd-7-1-2-RELEASE:1.9
	pgoyette-compat:1.10.0.10
	pgoyette-compat-base:1.10
	netbsd-7-1-1-RELEASE:1.9
	perseant-stdc-iso10646:1.10.0.8
	perseant-stdc-iso10646-base:1.10
	prg-localcount2-base3:1.10
	prg-localcount2-base2:1.10
	prg-localcount2-base1:1.10
	prg-localcount2:1.10.0.6
	prg-localcount2-base:1.10
	pgoyette-localcount-20170426:1.10
	bouyer-socketcan-base1:1.10
	pgoyette-localcount-20170320:1.10
	netbsd-7-1:1.9.0.8
	netbsd-7-1-RELEASE:1.9
	netbsd-7-1-RC2:1.9
	netbsd-7-nhusb-base-20170116:1.9
	bouyer-socketcan:1.10.0.4
	bouyer-socketcan-base:1.10
	pgoyette-localcount-20170107:1.10
	netbsd-7-1-RC1:1.9
	pgoyette-localcount-20161104:1.10
	netbsd-7-0-2-RELEASE:1.9
	localcount-20160914:1.10
	netbsd-7-nhusb:1.9.0.6
	netbsd-7-nhusb-base:1.9
	pgoyette-localcount-20160806:1.10
	pgoyette-localcount-20160726:1.10
	pgoyette-localcount:1.10.0.2
	pgoyette-localcount-base:1.10
	netbsd-7-0-1-RELEASE:1.9
	netbsd-7-0:1.9.0.4
	netbsd-7-0-RELEASE:1.9
	netbsd-7-0-RC3:1.9
	netbsd-7-0-RC2:1.9
	netbsd-7-0-RC1:1.9
	netbsd-5-2-3-RELEASE:1.7
	netbsd-5-1-5-RELEASE:1.7
	netbsd-6-0-6-RELEASE:1.8
	netbsd-6-1-5-RELEASE:1.8
	netbsd-7:1.9.0.2
	netbsd-7-base:1.9
	yamt-pagecache-base9:1.8
	yamt-pagecache-tag8:1.8
	netbsd-6-1-4-RELEASE:1.8
	netbsd-6-0-5-RELEASE:1.8
	tls-earlyentropy:1.8.0.22
	tls-earlyentropy-base:1.9
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8
	riastradh-drm2-base3:1.8
	netbsd-6-1-3-RELEASE:1.8
	netbsd-6-0-4-RELEASE:1.8
	netbsd-5-2-2-RELEASE:1.7
	netbsd-5-1-4-RELEASE:1.7
	netbsd-6-1-2-RELEASE:1.8
	netbsd-6-0-3-RELEASE:1.8
	netbsd-5-2-1-RELEASE:1.7
	netbsd-5-1-3-RELEASE:1.7
	netbsd-6-1-1-RELEASE:1.8
	riastradh-drm2-base2:1.8
	riastradh-drm2-base1:1.8
	riastradh-drm2:1.8.0.16
	riastradh-drm2-base:1.8
	netbsd-6-1:1.8.0.20
	netbsd-6-0-2-RELEASE:1.8
	netbsd-6-1-RELEASE:1.8
	netbsd-6-1-RC4:1.8
	netbsd-6-1-RC3:1.8
	agc-symver:1.8.0.18
	agc-symver-base:1.8
	netbsd-6-1-RC2:1.8
	netbsd-6-1-RC1:1.8
	yamt-pagecache-base8:1.8
	netbsd-5-2:1.7.0.2
	netbsd-6-0-1-RELEASE:1.8
	yamt-pagecache-base7:1.8
	netbsd-5-2-RELEASE:1.7
	netbsd-5-2-RC1:1.7
	matt-nb6-plus-nbase:1.8
	yamt-pagecache-base6:1.8
	netbsd-6-0:1.8.0.14
	netbsd-6-0-RELEASE:1.8
	netbsd-6-0-RC2:1.8
	tls-maxphys:1.8.0.12
	tls-maxphys-base:1.9
	matt-nb6-plus:1.8.0.10
	matt-nb6-plus-base:1.8
	netbsd-6-0-RC1:1.8
	yamt-pagecache-base5:1.8
	yamt-pagecache-base4:1.8
	netbsd-6:1.8.0.8
	netbsd-6-base:1.8
	netbsd-5-1-2-RELEASE:1.7
	netbsd-5-1-1-RELEASE:1.7
	yamt-pagecache-base3:1.8
	yamt-pagecache-base2:1.8
	yamt-pagecache:1.8.0.6
	yamt-pagecache-base:1.8
	cherry-xenmp:1.8.0.4
	cherry-xenmp-base:1.8
	bouyer-quota2-nbase:1.8
	bouyer-quota2:1.8.0.2
	bouyer-quota2-base:1.8
	matt-mips64-premerge-20101231:1.8
	matt-nb5-pq3:1.7.0.12
	matt-nb5-pq3-base:1.7
	netbsd-5-1:1.7.0.10
	netbsd-5-1-RELEASE:1.7
	netbsd-5-1-RC4:1.7
	netbsd-5-1-RC3:1.7
	netbsd-5-1-RC2:1.7
	netbsd-5-1-RC1:1.7
	netbsd-5-0-2-RELEASE:1.7
	netbsd-5-0-1-RELEASE:1.7
	jym-xensuspend-nbase:1.7
	netbsd-5-0:1.7.0.8
	netbsd-5-0-RELEASE:1.7
	netbsd-5-0-RC4:1.7
	netbsd-5-0-RC3:1.7
	netbsd-5-0-RC2:1.7
	jym-xensuspend:1.7.0.6
	jym-xensuspend-base:1.7
	netbsd-5-0-RC1:1.7
	netbsd-5:1.7.0.4
	netbsd-5-base:1.7
	matt-mips64:1.5.0.22
	netbsd-4-0-1-RELEASE:1.5
	wrstuden-fixsa-newbase:1.5
	wrstuden-revivesa-base-1:1.5
	yamt-pf42-base4:1.5
	yamt-pf42-base3:1.5
	hpcarm-cleanup-nbase:1.5
	yamt-pf42-baseX:1.5
	yamt-pf42-base2:1.5
	wrstuden-revivesa:1.5.0.20
	wrstuden-revivesa-base:1.5
	yamt-pf42:1.5.0.18
	yamt-pf42-base:1.5
	keiichi-mipv6:1.5.0.16
	keiichi-mipv6-base:1.5
	matt-armv6-nbase:1.5
	matt-armv6-prevmlocking:1.5
	wrstuden-fixsa-base-1:1.5
	netbsd-4-0:1.5.0.14
	netbsd-4-0-RELEASE:1.5
	cube-autoconf:1.5.0.12
	cube-autoconf-base:1.5
	netbsd-4-0-RC5:1.5
	netbsd-4-0-RC4:1.5
	netbsd-4-0-RC3:1.5
	netbsd-4-0-RC2:1.5
	netbsd-4-0-RC1:1.5
	matt-armv6:1.5.0.10
	matt-armv6-base:1.5
	matt-mips64-base:1.5
	hpcarm-cleanup:1.5.0.8
	hpcarm-cleanup-base:1.5
	wrstuden-fixsa:1.5.0.6
	wrstuden-fixsa-base:1.5
	abandoned-netbsd-4-base:1.5
	abandoned-netbsd-4:1.5.0.2
	netbsd-4:1.5.0.4
	netbsd-4-base:1.5;
locks; strict;
comment	@# @;


1.10
date	2016.01.13.19.03.10;	author christos;	state dead;
branches;
next	1.9;
commitid	44lNzn9sRDftTNQy;

1.9
date	2014.07.05.19.22.42;	author dholland;	state Exp;
branches;
next	1.8;
commitid	mbedNMLrcXUhUdHx;

1.8
date	2010.01.26.15.11.56;	author wiz;	state Exp;
branches
	1.8.12.1
	1.8.22.1;
next	1.7;

1.7
date	2008.07.16.21.14.54;	author perry;	state dead;
branches;
next	1.6;

1.6
date	2008.07.16.16.34.36;	author perry;	state Exp;
branches;
next	1.5;

1.5
date	2006.02.14.23.37.39;	author dyoung;	state Exp;
branches
	1.5.20.1;
next	1.4;

1.4
date	2006.02.12.01.18.05;	author wiz;	state Exp;
branches;
next	1.3;

1.3
date	2006.02.12.00.18.30;	author christos;	state Exp;
branches;
next	1.2;

1.2
date	2006.02.11.19.39.01;	author christos;	state Exp;
branches;
next	1.1;

1.1
date	2006.02.06.18.29.48;	author wiz;	state Exp;
branches;
next	;

1.8.12.1
date	2014.08.20.00.02.05;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.8.22.1
date	2014.08.10.06.51.36;	author tls;	state Exp;
branches;
next	;
commitid	79Sau13LodJQAMLx;

1.5.20.1
date	2008.09.07.20.22.55;	author wrstuden;	state dead;
branches;
next	;


desc
@@


1.10
log
@unhook groff
@
text
@# $NetBSD: Makefile,v 1.9 2014/07/05 19:22:42 dholland Exp $

DIST_SUBDIR=	contrib/mom/examples

.include <bsd.own.mk>

.if ${MKSHARE} != "no"
FILESDIR=	/usr/share/doc/reference/ref1/roff/mom_examples
MOM_FILES=	typesetting.mom letter.mom sample_docs.mom
FILES=		README.txt elvis_syntax elvis_syntax.new penguin.ps ${MOM_FILES}
.endif	# MKSHARE

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


1.9
log
@Reorg docs, part 1:
Move all the reference manuals to subdirs of /usr/share/doc/reference.
We have subdirs ref1-ref9, corresponding to man page sections 1-9.

Everything that's the reference manual for a program (sections 1, 6,
8), C interface (sections 2, 3), driver or file system (section 4),
format or configuration (section 5), or kernel internal interface
(section 9) belongs in here.

Section 7 is a little less clear: some things that might go in section
7 if they were a man page aren't really reference manuals. So I'm only
putting things in reference section 7 that are (to me) clearly
reference material, rather than e.g. tutorials, guides, FAQs, etc.
This obviously leaves some room for debate, especially without first
editing the docs with this distinction in mind, but if people hate
what I've done things can always be moved again.

Note also that while roff macro man pages traditionally go in section
7, I have put all the roff documentation (macros, tools, etc.) in one
place in reference/ref1/roff. This will make it easier to find and
also easier to edit it into some kind of coherent form.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2010/01/26 15:11:56 wiz Exp $
@


1.8
log
@Install mom macro sets again, per request from Petar Bogdanovic.
Don't install generated PostScript files that were part of the reason
for the removal.

Based on a patch by him with slight changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2008/07/16 16:34:36 perry Exp $
d8 1
a8 1
FILESDIR=	${DOCDIR}/groff/mom
@


1.8.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
# $NetBSD$
d8 1
a8 1
FILESDIR=	/usr/share/doc/reference/ref1/roff/mom_examples
@


1.8.22.1
log
@Rebase.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2014/07/05 19:22:42 dholland Exp $
d8 1
a8 1
FILESDIR=	/usr/share/doc/reference/ref1/roff/mom_examples
@


1.7
log
@So long, mom. (Approved by: wiz)

sets files still need updating, I'll do that shortly.
@
text
@a10 14

.if ${MKMAN} != "no"
PROCESSED_FILES=	${MOM_FILES:S/.mom/.ps/}
FILES+=			${PROCESSED_FILES}
CLEANFILES+=		${PROCESSED_FILES}

.for i in ${PROCESSED_FILES}
$i: ${i:S/.ps/.mom/}
	${TOOL_GROFF} -I${FILESDIR} -Tps -mom ${.ALLSRC} | \
		${TOOL_SED} 's/^\(%%CreationDate:\).*/\1 unknown/' >${.TARGET}
.endfor

dependall: ${PROCESSED_FILES}
.endif	# MKMAN
@


1.6
log
@Temporary hack to remove dates from generated postscript files.

Really, though, "mom" should go, or at least the generated PostScript
files should.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2006/02/14 23:37:39 dyoung Exp $
@


1.5
log
@Do not build .ps files if MKMAN=no, because nbgroff is not available.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2006/02/12 01:18:05 wiz Exp $
d19 2
a20 1
	${TOOL_GROFF} -I${FILESDIR} -Tps -mom ${.ALLSRC} >${.TARGET}
@


1.5.20.1
log
@Delete a bunch of things that are now gone in head.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2006/02/14 23:37:39 dyoung Exp $
@


1.4
log
@re-add elvis_syntax, lost in 1.2; spaces -> tab while here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2006/02/12 00:18:30 christos Exp $
d12 1
d23 2
a24 1
.endif
@


1.3
log
@Find penguin.ps with -I
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2006/02/11 19:39:01 christos Exp $
d3 1
a3 1
DIST_SUBDIR=    contrib/mom/examples
d8 1
a8 1
FILESDIR=       ${DOCDIR}/groff/mom
d10 1
a10 1
FILES=          README.txt elvis_syntax.new penguin.ps ${MOM_FILES}
d12 1
a12 1
PROCESSED_FILES= ${MOM_FILES:S/.mom/.ps/}
a21 1

@


1.2
log
@Simplify this:
- don't use suffix rules because they will confuse the ${.ALLSRC} target
  in the install later.
- no need to copy the .ps file locally.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2006/02/06 18:29:48 wiz Exp $
d18 1
a18 1
	${TOOL_GROFF} -Tps -mom ${.ALLSRC} >${.TARGET}
@


1.1
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 $
d9 2
a10 2
FILES=          README.txt elvis_syntax.new penguin.ps typesetting.mom \
		elvis_syntax letter.mom sample_docs.mom
d12 1
a12 1
PROCESSED_FILES=	letter.ps sample_docs.ps typesetting.ps
d14 1
a14 2
CLEANFILES+=		${PROCESSED_FILES} penguin.ps
.endif
d16 4
a19 3
.SUFFIXES: .mom .ps
.mom.ps:
	${TOOL_GROFF} -Tps -mom $< >$@@
a21 1
${PROCESSED_FILES}: ${.OBJDIR}/penguin.ps
d23 1
a23 2
${.OBJDIR}/penguin.ps: penguin.ps
	cp ${.ALLSRC} ${.TARGET}
@
