summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThomas Lundquist <lists@zelow.no>2007-10-31 12:46:52 +0000
committerThomas Lundquist <lists@zelow.no>2007-10-31 12:46:52 +0000
commit9b4ac6ab8e213ec8ca6a109b35f9ca7163acdac5 (patch)
tree846bd49335604972fce7722b3ff9e457fc69885e /package
parentebc4ad1e982ee9798d917e1e675ec1b41f03abeb (diff)
Had an issue noted in bug #1557, attached patch.
Diffstat (limited to 'package')
-rw-r--r--package/kismet/kismet.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/kismet/kismet.mk b/package/kismet/kismet.mk
index 523c050ec..6da011191 100644
--- a/package/kismet/kismet.mk
+++ b/package/kismet/kismet.mk
@@ -47,14 +47,15 @@ $(KISMET_DIR)/$(KISMET_BINARY): $(KISMET_DIR)/.configured
$(MAKE) CXX="$(TARGET_CXX)" CC="$(TARGET_CC)" \
-C $(KISMET_DIR)
-$(TARGET_DIR)/$(KISMET_TARGET_BINARY): $(KISMET_DIR)/$(KISMET_BINARY)
+$(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/$(KISMET_BINARY): $(KISMET_DIR)/$(KISMET_BINARY)
install -m 755 $(KISMET_DIR)/kismet $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet
install -m 755 $(KISMET_DIR)/kismet_client $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet_client
install -m 755 $(KISMET_DIR)/kismet_drone $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet_drone
install -m 755 $(KISMET_DIR)/kismet_server $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet_server
install -m 755 $(KISMET_DIR)/conf/kismet.conf $(TARGET_DIR)/etc/kismet.conf
-kismet: uclibc ncurses libpcap $(TARGET_DIR)/$(KISMET_TARGET_BINARY)
+kismet: uclibc ncurses libpcap $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/$(KISMET_BINARY)
+
kismet-clean:
rm -f $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet