summaryrefslogtreecommitdiffstats
path: root/fortune/datfiles/Makefile
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1993-04-30 05:24:57 +0000
committercgd <cgd@NetBSD.org>1993-04-30 05:24:57 +0000
commitdaa09085374534e035a521d0e617b9f9aedae0ab (patch)
tree6f8a33e6ccf4057a71eeb3409dc9026fb7c1cbb2 /fortune/datfiles/Makefile
parent810b140d8d0aea516f8a17534359a3345ba071fa (diff)
downloadbsdgames-darwin-daa09085374534e035a521d0e617b9f9aedae0ab.tar.gz
bsdgames-darwin-daa09085374534e035a521d0e617b9f9aedae0ab.tar.zst
bsdgames-darwin-daa09085374534e035a521d0e617b9f9aedae0ab.zip
build datfiles at make time, not at install time
Diffstat (limited to 'fortune/datfiles/Makefile')
-rw-r--r--fortune/datfiles/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/fortune/datfiles/Makefile b/fortune/datfiles/Makefile
index be8c16b2..3a8f75bc 100644
--- a/fortune/datfiles/Makefile
+++ b/fortune/datfiles/Makefile
@@ -13,7 +13,9 @@ DATFILES= ${NORMDAT} ${OBSDAT}
CLEANFILES+=${DATFILES}
-install: ${DATFILES}
+all: ${DATFILES}
+
+install:
@if [ ! -d ${DESTDIR}/usr/share/games/fortune ]; then \
/bin/rm -f ${DESTDIR}/usr/share/games/fortune ; \
mkdir -p ${DESTDIR}/usr/share/games/fortune ; \