4.4BSD/usr/src/share/doc/smm/Makefile

#	@(#)Makefile	8.1 (Berkeley) 6/10/93

# The following modules do not build/install:
# 10.named, 13.amd

BINDIR=	/usr/share/doc/smm
FILES=	00.contents Makefile Title
SUBDIR=	01.setup 02.config 03.fsck 04.quotas 05.fastfs 06.nfs 07.lpd \
	08.sendmailop 09.sendmail 11.timedop 12.timed 14.uucpimpl \
	15.uucpnet 16.security 17.password 18.net

Title.ps: ${FILES}
	groff Title > ${.TARGET}

contents.ps: ${FILES}
	groff -ms 00.contents > ${.TARGET}

.if	${MACHINE} == "tahoe"
SUBDIR+=01.setup
.elif	${MACHINE} == "vax"
SUBDIR+=01.setup
.endif

beforeinstall:
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
	    ${DESTDIR}${BINDIR}

.include <bsd.subdir.mk>