summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-07-21 21:32:13 +0000
committerjkh <jkh@FreeBSD.org>2000-07-21 21:32:13 +0000
commitc652b1e4e2e343fa3dd44ca98729abfff0b94407 (patch)
tree803132a6fa1c936f4fae44de60ee3aa8a1fbe853 /usr.sbin/sysinstall
parentc0840074eadea46346bfde8f66f6e51df10235f7 (diff)
downloadFreeBSD-src-c652b1e4e2e343fa3dd44ca98729abfff0b94407.zip
FreeBSD-src-c652b1e4e2e343fa3dd44ca98729abfff0b94407.tar.gz
If ${BINDIR} is not present, create it before installing to it.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile
index 0aeb6dc..4195eed 100644
--- a/usr.sbin/sysinstall/Makefile
+++ b/usr.sbin/sysinstall/Makefile
@@ -79,7 +79,6 @@ KEYMAPS= be.iso br275.iso danish.iso finnish.iso fr.iso \
spanish.iso swedish.iso swissfrench.iso swissgerman.iso uk.iso \
us.dvorak us.iso
-
keymap.h:
rm -f keymap.tmp
for map in ${KEYMAPS} ; do \
@@ -94,4 +93,9 @@ keymap.h:
( echo " { 0 }"; echo "};" ; echo "" ) >> keymap.tmp
mv keymap.tmp keymap.h
+beforeinstall:
+ @if [ ! -d ${BINDIR}/ ]; then \
+ mkdir -p ${BINDIR}; \
+ fi
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud