]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
hostapd: Ensure that the destination directory exists
authorMike Crowe <mac@mcrowe.com>
Sun, 30 Jan 2011 19:33:17 +0000 (21:33 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 30 Jan 2011 19:33:17 +0000 (21:33 +0200)
Ensure that the destination binary directory exists before installing
into it.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
hostapd/Makefile

index ca031de4f54e2118ce4be3a7a180d38d603b1bf7..c4ccedf76bd89e053de81c9e6a144c9cd1aee6a3 100644 (file)
@@ -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: