1995-04-20 06:04:51 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 1995/04/20 02:06:32 mycroft Exp $
|
1994-10-21 23:52:51 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/11/93
|
|
|
|
|
|
|
|
SUBDIR= boggle mkdict mkindex
|
|
|
|
|
1994-11-30 14:38:56 +03:00
|
|
|
MKDICT!=cd $(.CURDIR)/mkdict; \
|
|
|
|
printf "xxx:\n\techo \$${.OBJDIR}/mkdict\n" | ${MAKE} -r -s -f - xxx
|
|
|
|
MKINDEX!=cd $(.CURDIR)/mkindex; \
|
|
|
|
printf "xxx:\n\techo \$${.OBJDIR}/mkindex\n" | ${MAKE} -r -s -f - xxx
|
|
|
|
|
1994-10-21 23:52:51 +03:00
|
|
|
beforeinstall:
|
1995-04-20 06:04:51 +04:00
|
|
|
rm -f ${DESTDIR}/usr/share/games/boggle/dictionary
|
1994-11-30 14:38:56 +03:00
|
|
|
${MKDICT} < /usr/share/dict/words > \
|
1994-10-21 23:52:51 +03:00
|
|
|
${DESTDIR}/usr/share/games/boggle/dictionary
|
1995-04-20 06:04:51 +04:00
|
|
|
rm -f ${DESTDIR}/usr/share/games/boggle/dictindex
|
1994-11-30 14:38:56 +03:00
|
|
|
${MKINDEX} < ${DESTDIR}/usr/share/games/boggle/dictionary > \
|
1994-10-21 23:52:51 +03:00
|
|
|
${DESTDIR}/usr/share/games/boggle/dictindex
|
|
|
|
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/share/games/boggle/dictionary
|
|
|
|
chmod 444 ${DESTDIR}/usr/share/games/boggle/dictionary
|
|
|
|
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/share/games/boggle/dictindex
|
|
|
|
chmod 444 ${DESTDIR}/usr/share/games/boggle/dictindex
|
1995-03-01 12:05:20 +03:00
|
|
|
|
1994-10-21 23:52:51 +03:00
|
|
|
.include <bsd.subdir.mk>
|