[PATCH 2/2] Ensure that the destination binary directory exists before installing into it.

Mike Crowe mac at mcrowe.com
Wed Jan 5 08:33:42 EST 2011


Signed-off-by: Mike Crowe <mac at mcrowe.com>
---
 hostapd/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hostapd/Makefile b/hostapd/Makefile
index ca031de..c4ccedf 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -765,6 +765,7 @@ verify_config:
 	fi
 
 install: all
+	mkdir -p $(DESTDIR)/usr/local/bin
 	for i in $(ALL); do cp -f $$i $(DESTDIR)/usr/local/bin/$$i; done
 
 ../src/drivers/build.hostapd:
-- 
1.5.6.5


More information about the HostAP mailing list