Merge branch 'vendor/MDOCML'
[dragonfly.git] / games / fortune / datfiles / Makefile
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
5 FORTUNES=       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
11 INSTALL_OFFENSIVE_FORTUNES?=    YES
12 .if (${INSTALL_OFFENSIVE_FORTUNES} == "YES")
13 FORTUNES+=      fortunes-o limerick murphy-o
14 .endif
15
16 FILESDIR=       ${SHAREDIR}/games/fortune
17
18 .for f in ${FORTUNES}
19 FILES+=         $f $f.dat
20 CLEANFILES+=    $f.dat
21 .if !(target($f.dat))
22 $f.dat: $f
23         PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
24             strfile -Cs ${.ALLSRC} ${.TARGET}
25 .endif
26 .endfor
27
28 .include <bsd.prog.mk>