Makefile revision 1.7
11.6Smycroft#	from: @(#)Makefile	5.2 (Berkeley) 5/6/91
21.7Sjtc#	$Id: Makefile,v 1.7 1993/09/30 23:57:08 jtc Exp $
31.1Scgd
41.2Scgd#
51.2Scgd# set `OBSCENE' to "real" to have obscene fortunes installed,
61.2Scgd# fake to have a note stating that they're not installed
71.2Scgd# isntalled in their place
81.2Scgd#
91.2ScgdOBSCENE=real
101.2Scgd
111.3ScgdNORMDAT= fortunes.dat startrek.dat zippy.dat
121.3ScgdOBSDAT=	fortunes-o.dat
131.3ScgdDATFILES= ${NORMDAT} ${OBSDAT}
141.3Scgd
151.1ScgdCLEANFILES+=${DATFILES}
161.1Scgd
171.4Scgdall: ${DATFILES}
181.4Scgd
191.4Scgdinstall:
201.7Sjtc	@install -d -o root -g wheel -m 755 ${DESTDIR}/usr/share/games/fortune
211.5Smycroft	install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${DATFILES} \
221.1Scgd	    ${DESTDIR}/usr/share/games/fortune
231.3Scgd	(cd ${.CURDIR} && install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
241.3Scgd		${NORMDAT:R} ${DESTDIR}/usr/share/games/fortune)
251.3Scgd	(cd ${.CURDIR} && install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
261.3Scgd		${OBSDAT:R}.${OBSCENE}.rot13 \
271.3Scgd		${DESTDIR}/usr/share/games/fortune/${OBSDAT:R})
281.1Scgd
291.2Scgdfortunes-o.dat: ${.TARGET:R}.${OBSCENE}.rot13
301.1Scgd	${.CURDIR}/../strfile/obj/strfile -rsx \
311.2Scgd	    ${.CURDIR}/${.TARGET:R}.${OBSCENE}.rot13 ${.TARGET}
321.1Scgd
331.1Scgdfortunes.dat startrek.dat zippy.dat: ${.TARGET:R}
341.1Scgd	${.CURDIR}/../strfile/obj/strfile -rs \
351.1Scgd	    ${.CURDIR}/${.TARGET:R} ${.TARGET}
361.1Scgd
371.1Scgd.include <bsd.prog.mk>
38