freebsd-skq/games/fortune/datfiles/Makefile
Doug Barton db7de88380 Combine the fortunes-o.real and the fortunes2-o file, as was done
with fortunes and fortunes2 2 years and 2 days ago. The fortunes2-o
file was brought in with the original import of the 4.4 Lite games
directory, but has always consisted in large part of fortunes
duplicated from other files.

The combined size of the two files is still only 631K, or less
than 1/3rd of the size of the fortunes file.

Combining them has the added benefit of making the fortunes from
fortunes2-o visibile to fortune(6)'s -m option.

This change should probably not be MFC'ed beyond RELENG_7.
2007-12-07 22:56:10 +00:00

38 lines
982 B
Makefile

# @(#)Makefile 8.2 (Berkeley) 4/19/94
# $FreeBSD$
FILES= fortunes freebsd-tips murphy startrek zippy
BLDS= fortunes.dat murphy.dat startrek.dat zippy.dat \
fortunes-o fortunes-o.dat freebsd-tips.dat
# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, COMMENT OUT THE
# THREE LINES AND UNCOMMENT THE FOURTH LINE.
# THE THREE LINES:
FILES+= limerick murphy-o gerrold.limerick
BLDS+= limerick.dat murphy-o.dat gerrold.limerick.dat
TYPE= real
# THE FOURTH LINE:
#TYPE= fake
FILES+= ${BLDS}
CLEANFILES+=${BLDS}
FILESDIR= ${SHAREDIR}/games/fortune
.for f in fortunes freebsd-tips gerrold.limerick limerick murphy murphy-o startrek zippy
$f.dat: $f
PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
strfile -Cs ${.ALLSRC} ${.TARGET}
.endfor
fortunes-o.dat: fortunes-o
PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
strfile -Csx ${.ALLSRC} ${.TARGET}
fortunes-o: fortunes-o.${TYPE}
LC_ALL=C tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>