diff options
author | jkh <jkh@FreeBSD.org> | 2000-07-21 21:32:13 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2000-07-21 21:32:13 +0000 |
commit | c652b1e4e2e343fa3dd44ca98729abfff0b94407 (patch) | |
tree | 803132a6fa1c936f4fae44de60ee3aa8a1fbe853 /usr.sbin | |
parent | c0840074eadea46346bfde8f66f6e51df10235f7 (diff) | |
download | FreeBSD-src-c652b1e4e2e343fa3dd44ca98729abfff0b94407.zip FreeBSD-src-c652b1e4e2e343fa3dd44ca98729abfff0b94407.tar.gz |
If ${BINDIR} is not present, create it before installing to it.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sade/Makefile | 6 | ||||
-rw-r--r-- | usr.sbin/sysinstall/Makefile | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/usr.sbin/sade/Makefile b/usr.sbin/sade/Makefile index 0aeb6dc..4195eed 100644 --- a/usr.sbin/sade/Makefile +++ b/usr.sbin/sade/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> 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> |