Home | History | Annotate | Line # | Download | only in quiz
Makefile revision 1.2
      1 #	@(#)Makefile	5.1 (Berkeley) 11/10/91
      2 
      3 PROG=	quiz
      4 MAN6=	quiz.0
      5 SRCS=	quiz.c rxp.c
      6 CATS=	africa america areas arith asia babies bard chinese collectives \
      7 	ed elements europe greek inca index latin locomotive midearth morse \
      8 	mult murders poetry posneg pres province seq-easy seq-hard sexes sov \
      9 	spell state trek ucc
     10 HIDEGAME=hidegame
     11 
     12 beforeinstall:
     13 	@if [ ! -d ${DESTDIR}/usr/share/games/quiz.db ]; then \
     14                 /bin/rm -f ${DESTDIR}/usr/share/games/quiz.db ; \
     15                 mkdir -p ${DESTDIR}/usr/share/games/quiz.db ; \
     16                 chown root.wheel ${DESTDIR}/usr/share/games/quiz.db ; \
     17                 chmod 755 ${DESTDIR}/usr/share/games/quiz.db ; \
     18         else \
     19                 true ; \
     20         fi
     21 	(cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
     22 	    ${CATS} ${DESTDIR}/usr/share/games/quiz.db)
     23 
     24 .include <bsd.prog.mk>
     25