summaryrefslogtreecommitdiffstats
path: root/fortune/datfiles/Makefile
diff options
context:
space:
mode:
authorabs <abs@NetBSD.org>2000-08-17 16:48:52 +0000
committerabs <abs@NetBSD.org>2000-08-17 16:48:52 +0000
commitd08f63e42053c8b1ae05974e25ab23ca34beb3e1 (patch)
treece40edc612209ae1ec091581fd36ef74a36d87ae /fortune/datfiles/Makefile
parent7e3075d4eac3336a33881c77de66a4ca139b401f (diff)
downloadbsdgames-darwin-d08f63e42053c8b1ae05974e25ab23ca34beb3e1.tar.gz
bsdgames-darwin-d08f63e42053c8b1ae05974e25ab23ca34beb3e1.tar.zst
bsdgames-darwin-d08f63e42053c8b1ae05974e25ab23ca34beb3e1.zip
Split netbsd fortunes into offensive and non offensive.
Split could be considered somewhat arbitrary.
Diffstat (limited to 'fortune/datfiles/Makefile')
-rw-r--r--fortune/datfiles/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/fortune/datfiles/Makefile b/fortune/datfiles/Makefile
index e5b0b78e..745a62b4 100644
--- a/fortune/datfiles/Makefile
+++ b/fortune/datfiles/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2000/02/06 11:59:29 pooka Exp $
+# $NetBSD: Makefile,v 1.28 2000/08/17 16:48:52 abs Exp $
# @(#)Makefile 8.2 (Berkeley) 4/19/94
.include <bsd.own.mk> # for INSTALL_OFFENSIVE_FORTUNES
@@ -8,7 +8,7 @@ SRCFILES= fortunes fortunes2 startrek zippy unamerican-o limerick \
DATFILES= fortunes.dat fortunes2.dat startrek.dat zippy.dat \
fortunes-o fortunes-o.dat fortunes2-o fortunes2-o.dat \
limerick.dat limerick-o.dat unamerican-o unamerican-o.dat \
- netbsd.dat
+ netbsd.dat netbsd-o netbsd-o.dat
# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, RUN 'make' with
# "INSTALL_OFFENSIVE_FORTUNES=NO", or set "INSTALL_OFFENSIVE_FORTUNES=NO"
@@ -66,5 +66,10 @@ unamerican-o: unamerican-o.${TYPE}
unamerican-o.dat: unamerican-o
${STRFILE} -rsx ${.ALLSRC} ${.TARGET}
+netbsd-o: netbsd-o.${TYPE}
+ tr [a-zA-Z] [n-za-mN-ZA-M] < ${.ALLSRC} > ${.TARGET}
+netbsd-o.dat: netbsd-o
+ ${STRFILE} -rsx ${.ALLSRC} ${.TARGET}
+
.include <bsd.prog.mk>