Makefile revision 117036
1# @(#)Makefile 8.2 (Berkeley) 4/19/94 2# $FreeBSD: head/games/fortune/datfiles/Makefile 116571 2003-06-19 07:02:00Z murray $ 3 4FILES= fortunes fortunes2 freebsd-tips murphy startrek zippy 5BLDS= fortunes.dat fortunes2.dat murphy.dat startrek.dat zippy.dat \ 6 fortunes-o fortunes-o.dat freebsd-tips.dat 7 8# Pass all new entries by ${MAINTAINER} to preserve some semblance of 9# humor in the fortune files. What's funny to you on 6 beers may not 10# be funny to anyone else. 11MAINTAINER= jkh 12 13# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, COMMENT OUT THE 14# THREE LINES AND UNCOMMENT THE FOURTH LINE. 15 16# THE THREE LINES: 17FILES+= fortunes2-o limerick murphy-o gerrold.limerick 18BLDS+= fortunes2-o.dat limerick.dat murphy-o.dat gerrold.limerick.dat 19TYPE= real 20 21# THE FOURTH LINE: 22#TYPE= fake 23 24FILES+= ${BLDS} 25CLEANFILES+=${BLDS} 26 27FILESDIR= ${SHAREDIR}/games/fortune 28 29.for f in fortunes fortunes2 fortunes2-o freebsd-tips gerrold.limerick limerick murphy murphy-o startrek zippy 30$f.dat: $f 31 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \ 32 strfile -Cs ${.ALLSRC} ${.TARGET} 33.endfor 34 35fortunes-o.dat: fortunes-o 36 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \ 37 strfile -Csx ${.ALLSRC} ${.TARGET} 38 39fortunes-o: fortunes-o.${TYPE} 40 tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET} 41 42.include <bsd.prog.mk> 43