freebsd-dev/games/fortune/datfiles/Makefile
John Baldwin eaa2cf4022 Remove fortunes-o from the base system. Debating what does or does not
belong in this file is not a useful exercise or conducive to producing a
high quality advanced operating system.

While here, simplify the make rules to autocompute BLDS and FILES from a
single DB variable.

Approved by:	core
MFC after:	1 week
2013-03-12 12:35:02 +00:00

23 lines
475 B
Makefile

# @(#)Makefile 8.2 (Berkeley) 4/19/94
# $FreeBSD$
DB= fortunes freebsd-tips murphy startrek zippy
# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, COMMENT OUT THE
# NEXT LINE.
DB+= limerick murphy-o gerrold.limerick
BLDS= ${DB:S/$/.dat/}
FILES= ${DB} ${BLDS}
CLEANFILES+=${BLDS}
FILESDIR= ${SHAREDIR}/games/fortune
.for f in ${DB}
$f.dat: $f
PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
strfile -Cs ${.ALLSRC} ${.TARGET}
.endfor
.include <bsd.prog.mk>