X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/94b5353c71e7246077d468afe68d51ce85fc213d..fb4bf232f26bcf58854d0ad1bca260452ef50301:/fortune/datfiles/Makefile?ds=inline diff --git a/fortune/datfiles/Makefile b/fortune/datfiles/Makefile index 8c87385b..a9911c1d 100644 --- a/fortune/datfiles/Makefile +++ b/fortune/datfiles/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 1995/03/23 08:28:33 cgd Exp $ +# $NetBSD: Makefile,v 1.15 1996/02/29 00:21:16 jtc Exp $ # @(#)Makefile 8.2 (Berkeley) 4/19/94 SRCS= fortunes fortunes2 startrek zippy @@ -19,14 +19,15 @@ TYPE= real CLEANFILES+=${BLDS} STRFILE!=cd $(.CURDIR)/../strfile; \ - printf "xxx:\n\techo \$${.OBJDIR}/strfile\n" | ${MAKE} -r -s -f - xxx + printf "xxx:\n\techo \$${.OBJDIR}/strfile\n" | \ + ${MAKE} -r -s -f - xxx | grep strfile all: ${BLDS} install: ${SRCS} ${BLDS} (cd ${.CURDIR} && install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ ${SRCS} ${DESTDIR}/usr/share/games/fortune) - install -o ${BINOWN} -g ${BINGRP} -m 444 ${BLDS} \ + install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${BLDS} \ ${DESTDIR}/usr/share/games/fortune fortunes.dat fortunes2.dat fortunes2-o.dat limerick.dat startrek.dat zippy.dat: @@ -35,10 +36,7 @@ fortunes.dat fortunes2.dat fortunes2-o.dat limerick.dat startrek.dat zippy.dat: fortunes-o.dat: fortunes-o ${STRFILE} -rsx fortunes-o ${.TARGET} -#fortunes-o: fortunes-o.${TYPE} -# /usr/games/caesar 13 < ${.ALLSRC} > ${.TARGET} - -fortunes-o: fortunes-o.${TYPE}.rot13 - cat < ${.ALLSRC} > ${.TARGET} +fortunes-o: fortunes-o.${TYPE} + tr [a-zA-Z] [n-za-mN-ZA-M] < ${.ALLSRC} > ${.TARGET} .include