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