From bc8561e982002a4a906fe43bd865aeb9f13c484e Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Thu, 8 Sep 1994 04:17:57 +0000 Subject: [PATCH] Make this work with missing dirs. Submitted by: jkh --- games/quiz/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/games/quiz/Makefile b/games/quiz/Makefile index 804464424ff..7c45bafcc7f 100644 --- a/games/quiz/Makefile +++ b/games/quiz/Makefile @@ -10,6 +10,9 @@ CATS= africa america areas arith asia babies bard chinese collectives \ HIDEGAME=hidegame beforeinstall: + @if [ ! -d ${DESTDIR}/usr/share/games/quiz.db ]; then \ + mkdir -p ${DESTDIR}/usr/share/games/quiz.db; \ + fi (cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ ${CATS} ${DESTDIR}/usr/share/games/quiz.db)