Browse Source

hostapd: Ensure that the destination directory exists

Ensure that the destination binary directory exists before installing
into it.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Mike Crowe 14 years ago
parent
commit
9669794dc4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hostapd/Makefile

+ 1 - 0
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: