Makefile revision 60599
1# @(#)Makefile 8.2 (Berkeley) 4/19/94 2# $FreeBSD: head/games/fortune/datfiles/Makefile 55059 1999-12-23 19:09:59Z marcel $ 3 4FILES= fortunes fortunes2 startrek zippy 5BLDS= fortunes.dat fortunes2.dat startrek.dat zippy.dat \ 6 fortunes-o fortunes-o.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 18BLDS+= fortunes2-o.dat limerick.dat 19TYPE= real 20 21# THE FOURTH LINE: 22#TYPE= fake 23 24CLEANFILES+=${BLDS} 25 26all: ${BLDS} 27 28beforeinstall: 29 (cd ${.CURDIR} && ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \ 30 -m ${NOBINMODE} ${FILES} ${DESTDIR}${SHAREDIR}/games/fortune) 31 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} ${BLDS} \ 32 ${DESTDIR}${SHAREDIR}/games/fortune 33 34.for f in fortunes fortunes2 fortunes2-o limerick startrek zippy 35$f.dat: $f 36 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \ 37 strfile -Crs ${.ALLSRC} ${.TARGET} 38.endfor 39 40fortunes-o.dat: fortunes-o 41 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \ 42 strfile -Crsx ${.ALLSRC} ${.TARGET} 43 44fortunes-o: fortunes-o.${TYPE} 45 tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET} 46 47.include <bsd.prog.mk> 48