-# from: @(#)Makefile 5.1 (Berkeley) 11/10/91
-# $Id: Makefile,v 1.6 1994/12/22 09:35:38 cgd Exp $
+# $NetBSD: Makefile,v 1.13 1999/02/13 02:54:22 lukem Exp $
+# @(#)Makefile 8.1 (Berkeley) 5/31/93
+
+.include <bsd.own.mk>
PROG= quiz
MAN= quiz.6
SRCS= quiz.c rxp.c
-CATS= africa america areas arith asia babies bard chinese collectives \
- ed elements europe greek inca index latin locomotive midearth morse \
- mult murders poetry posneg pres province seq-easy seq-hard sexes sov \
- spell state trek ucc
HIDEGAME=hidegame
-
-beforeinstall:
- (cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${CATS} ${DESTDIR}/usr/share/games/quiz.db)
+.if ${MKSHARE} != "no"
+CATS= africa america areas arith asia babies bard chinese collectives \
+ ed elements europe flowers greek inca index latin locomotive \
+ midearth morse mult murders poetry posneg pres province seq-easy \
+ seq-hard sexes sov spell state trek ucc
+FILES= ${CATS:S@^@${.CURDIR}/datfiles/@}
+FILESDIR=/usr/share/games/quiz.db
+.endif
.include <bsd.prog.mk>