diff options
author | lukem <lukem@NetBSD.org> | 1998-09-29 07:33:20 +0000 |
---|---|---|
committer | lukem <lukem@NetBSD.org> | 1998-09-29 07:33:20 +0000 |
commit | f0356cf871408e3278470f30bdf03fa796c66c25 (patch) | |
tree | d689514cce32fb17dd717a1dfe06e8ba16e1757c /boggle/Makefile | |
parent | c76c7a1e76aa07245fba38d91779b4488ff23932 (diff) | |
download | bsdgames-darwin-f0356cf871408e3278470f30bdf03fa796c66c25.tar.gz bsdgames-darwin-f0356cf871408e3278470f30bdf03fa796c66c25.tar.zst bsdgames-darwin-f0356cf871408e3278470f30bdf03fa796c66c25.zip |
don't install in /usr/share if NOSHARE is defined
Diffstat (limited to 'boggle/Makefile')
-rw-r--r-- | boggle/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/boggle/Makefile b/boggle/Makefile index 712ec038..60834e06 100644 --- a/boggle/Makefile +++ b/boggle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 1997/10/11 09:34:16 mycroft Exp $ +# $NetBSD: Makefile,v 1.13 1998/09/29 07:33:20 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 6/11/93 SUBDIR= boggle mkdict mkindex @@ -8,9 +8,12 @@ MKDICT!=cd $(.CURDIR)/mkdict; \ MKINDEX!=cd $(.CURDIR)/mkindex; \ printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkindex\n" | ${MAKE} -s -f- WORDS=${.CURDIR}/../../share/dict/web2 -FILES=dictionary dictindex +DICTFILES=dictionary dictindex +.if !defined(NOSHARE) +FILES=${DICTFILES} FILESDIR=/usr/share/games/boggle -CLEANFILES+=${FILES} +.endif +CLEANFILES+=${DICTFILES} all: ${FILES} |