]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - fortune/datfiles/Makefile
Its is Dr. Elizabeth Dehner, not Dehaver.
[bsdgames-darwin.git] / fortune / datfiles / Makefile
index e5b0b78e13988807c032cd3318501ff6672057fa..dae9b48409af41b31a4f54d70dbee6134a46fce9 100644 (file)
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.27 2000/02/06 11:59:29 pooka Exp $
+#      $NetBSD: Makefile,v 1.30 2000/12/30 17:51:26 sommerfeld Exp $
 #      @(#)Makefile    8.2 (Berkeley) 4/19/94
 
 .include <bsd.own.mk>                  # for INSTALL_OFFENSIVE_FORTUNES
@@ -7,8 +7,8 @@ SRCFILES=       fortunes fortunes2 startrek zippy unamerican-o limerick \
                netbsd
 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
+               limerick.dat limerick-o limerick-o.dat unamerican-o \
+               unamerican-o.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"
@@ -23,8 +23,8 @@ TYPE=         fake
 
 CLEANFILES+=${DATFILES} limerick-o
 
-STRFILE!=cd $(.CURDIR)/../strfile; \
-       printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/strfile\n" | ${MAKE} -s -f-
+STRFILEDIR!=cd $(.CURDIR)/../strfile; ${PRINTOBJDIR}
+STRFILE=${STRFILEDIR}/strfile
 
 .if ${MKSHARE} != "no"
 FILES=${SRCFILES} ${DATFILES}
@@ -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>