diff options
author | jkh <jkh@FreeBSD.org> | 1994-09-08 04:17:57 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-09-08 04:17:57 +0000 |
commit | 0264427a622649306adcc89c3cb4dd9abc48eed9 (patch) | |
tree | e71144300ff0bcfae3d0fd2f9e796658f92d16f8 /games | |
parent | 066f92c619bf884de4f4c04115dc5a187b73d60b (diff) | |
download | FreeBSD-src-0264427a622649306adcc89c3cb4dd9abc48eed9.zip FreeBSD-src-0264427a622649306adcc89c3cb4dd9abc48eed9.tar.gz |
Make this work with missing dirs.
Submitted by: jkh
Diffstat (limited to 'games')
-rw-r--r-- | games/quiz/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/games/quiz/Makefile b/games/quiz/Makefile index 8044644..7c45baf 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) |