summaryrefslogtreecommitdiffstats
path: root/fortune
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1998-09-29 07:33:20 +0000
committerlukem <lukem@NetBSD.org>1998-09-29 07:33:20 +0000
commitf0356cf871408e3278470f30bdf03fa796c66c25 (patch)
treed689514cce32fb17dd717a1dfe06e8ba16e1757c /fortune
parentc76c7a1e76aa07245fba38d91779b4488ff23932 (diff)
downloadbsdgames-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 'fortune')
-rw-r--r--fortune/datfiles/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/fortune/datfiles/Makefile b/fortune/datfiles/Makefile
index 92ebfc86..1817cf04 100644
--- a/fortune/datfiles/Makefile
+++ b/fortune/datfiles/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 1997/10/10 13:04:33 lukem Exp $
+# $NetBSD: Makefile,v 1.21 1998/09/29 07:33:21 lukem Exp $
# @(#)Makefile 8.2 (Berkeley) 4/19/94
.include <bsd.own.mk> # for INSTALL_OFFENSIVE_FORTUNES
@@ -24,8 +24,10 @@ CLEANFILES+=${DATFILES}
STRFILE!=cd $(.CURDIR)/../strfile; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/strfile\n" | ${MAKE} -s -f-
+.if !defined(NOSHARE)
FILES=${SRCFILES} ${DATFILES}
FILESDIR=/usr/share/games/fortune
+.endif
all: ${DATFILES}