summaryrefslogtreecommitdiffstats
path: root/boggle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'boggle/Makefile')
-rw-r--r--boggle/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/boggle/Makefile b/boggle/Makefile
index f6970804..700a77bf 100644
--- a/boggle/Makefile
+++ b/boggle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1995/03/21 12:14:18 cgd Exp $
+# $NetBSD: Makefile,v 1.5 1995/04/20 02:06:32 mycroft Exp $
# @(#)Makefile 8.1 (Berkeley) 6/11/93
SUBDIR= boggle mkdict mkindex
@@ -9,8 +9,10 @@ MKINDEX!=cd $(.CURDIR)/mkindex; \
printf "xxx:\n\techo \$${.OBJDIR}/mkindex\n" | ${MAKE} -r -s -f - xxx
beforeinstall:
+ rm -f ${DESTDIR}/usr/share/games/boggle/dictionary
${MKDICT} < /usr/share/dict/words > \
${DESTDIR}/usr/share/games/boggle/dictionary
+ rm -f ${DESTDIR}/usr/share/games/boggle/dictindex
${MKINDEX} < ${DESTDIR}/usr/share/games/boggle/dictionary > \
${DESTDIR}/usr/share/games/boggle/dictindex
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/share/games/boggle/dictionary