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

#	@(#)Makefile	8.1 (Berkeley) 8/14/93

# The following modules do not build/install:
# 08.mh

BINDIR=	/usr/share/doc/usd
FILES=	00.contents Makefile Title
SUBDIR=	01.begin 02.learn 03.shell 04.csh 05.dc 06.bc 07.mail 09.edtut \
	10.edadv 11.edit 12.vi 13.ex 14.jove 15.sed 16.awk 17.msmacros \
	18.msdiffs 19.memacros 20.meref 21.troff 22.trofftut 23.eqn \
	24.eqnguide 25.tbl 26.refer 27.invert 28.bib 29.diction 30.rogue \
	31.trek

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

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

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

.include <bsd.subdir.mk>