diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-09-08 04:17:57 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-09-08 04:17:57 +0000 |
commit | bc8561e982002a4a906fe43bd865aeb9f13c484e (patch) | |
tree | e71144300ff0bcfae3d0fd2f9e796658f92d16f8 /games/quiz | |
parent | d0a05ae0335833b11e826c2e519ca21866291f30 (diff) | |
download | src-bc8561e982002a4a906fe43bd865aeb9f13c484e.tar.gz src-bc8561e982002a4a906fe43bd865aeb9f13c484e.zip |
Make this work with missing dirs.
Submitted by: jkh
Notes
Notes:
svn path=/head/; revision=2566
Diffstat (limited to 'games/quiz')
-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 804464424ff6..7c45bafcc7f9 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) |