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
This commit is contained in:
John Baldwin 2013-03-12 12:35:02 +00:00
parent 8e7e03d327
commit eaa2cf4022
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248200
4 changed files with 6 additions and 17160 deletions

View file

@ -1,37 +1,22 @@
# @(#)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
DB= fortunes freebsd-tips murphy startrek zippy
# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, COMMENT OUT THE
# THREE LINES AND UNCOMMENT THE FOURTH LINE.
# NEXT LINE.
DB+= limerick murphy-o gerrold.limerick
# 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}
BLDS= ${DB:S/$/.dat/}
FILES= ${DB} ${BLDS}
CLEANFILES+=${BLDS}
FILESDIR= ${SHAREDIR}/games/fortune
.for f in fortunes freebsd-tips gerrold.limerick limerick murphy murphy-o startrek zippy
.for f in ${DB}
$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>

View file

@ -1,2 +0,0 @@
There are no potentially offensive fortunes installed on this
system. For further details, contact your system administrator.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff