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:
parent
e42141c2bf
commit
369cfc7386
@ -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>
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user