xref: /dragonfly/games/fortune/datfiles/Makefile (revision 07917fe88dd28ff7c60b1137ee6c8f3f6688bf0c)
1#         @(#)Makefile        8.2 (Berkeley) 4/19/94
2# $FreeBSD: src/games/fortune/datfiles/Makefile,v 1.24.2.3 2002/02/18 15:03:32 ru Exp $
3
4# list of fortunes to be installed
5FORTUNES= dragonfly-funny dragonfly-tips fortunes murphy startrek zippy
6
7# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, RUN 'make' with
8# "INSTALL_OFFENSIVE_FORTUNES=NO", or set "INSTALL_OFFENSIVE_FORTUNES=NO"
9# IN /etc/make.conf.
10
11INSTALL_OFFENSIVE_FORTUNES?=  YES
12.if (${INSTALL_OFFENSIVE_FORTUNES} == "YES")
13FORTUNES+=          fortunes-o limerick murphy-o
14.endif
15
16FILESDIR= ${SHAREDIR}/games/fortune
17
18.for f in ${FORTUNES}
19FILES+=             $f $f.dat
20CLEANFILES+=        $f.dat
21.if !(target($f.dat))
22$f.dat: $f
23          ${.OBJDIR}/../strfile/strfile.nx -Cs ${.ALLSRC} ${.TARGET}
24.endif
25.endfor
26
27.include <bsd.prog.mk>
28