summaryrefslogtreecommitdiffstats
path: root/boggle
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-04-01 11:42:34 +0000
committerchristos <christos@NetBSD.org>1997-04-01 11:42:34 +0000
commit645b3f317fd0efc6235500a33a04486ae2849378 (patch)
treede4c92f3c39e4d7d5b5a1d58402a165d79dcb2c9 /boggle
parent77949edf212dfa805753ec2d69e3e91181793816 (diff)
downloadbsdgames-darwin-645b3f317fd0efc6235500a33a04486ae2849378.tar.gz
bsdgames-darwin-645b3f317fd0efc6235500a33a04486ae2849378.tar.zst
bsdgames-darwin-645b3f317fd0efc6235500a33a04486ae2849378.zip
- Don't depend on installed ${DESTDIR}/usr/share/dict/words; pick up the
dictionary from the sources. - Don't depend on the locally built indexing programs to build the dictionaries.
Diffstat (limited to 'boggle')
-rw-r--r--boggle/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/boggle/Makefile b/boggle/Makefile
index 7e42b913..8d7c859c 100644
--- a/boggle/Makefile
+++ b/boggle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1997/03/24 22:15:38 christos Exp $
+# $NetBSD: Makefile,v 1.8 1997/04/01 11:42:34 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/11/93
SUBDIR= boggle mkdict mkindex
@@ -7,7 +7,7 @@ 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
-WORDS=${DESTDIR}/usr/share/dict/words
+WORDS=${.CURDIR}/../../share/dict/web2a
FILES=dictionary dictindex
FILESDIR=/usr/share/games/boggle
CLEANFILES+=${FILES}
@@ -17,11 +17,11 @@ all: ${FILES}
${MKDICT} ${MKINDEX}: ${SUBDIR}
-dictionary: ${MKDICT} ${WORDS}
+dictionary: ${WORDS}
rm -f ${.TARGET}
${MKDICT} < ${WORDS} > ${.TARGET}
-dictindex: ${MKINDEX} dictionary
+dictindex: dictionary
rm -f ${.TARGET}
${MKINDEX} < dictionary > ${.TARGET}