Created
December 17, 2019 20:53
-
-
Save steev/673699bec8ad651b08b7094b1ffc83ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index a80ad47..e9bf0b0 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -1,6 +1,12 @@ | |
# Our plugin directory name when we install | |
PLUGIN_NAME ?= reportgen | |
+INSTALL ?= /usr/bin/install | |
+ | |
+# As we have no live code, all we need is the manifest.conf to "compile" | |
+all: manifest.conf | |
+# We have no requirements for install or userinstall, we just copy our data | |
+install: | |
# Look for the kismet source in /usr/src/kismet by default | |
KIS_SRC_DIR ?= /usr/src/kismet | |
KIS_INC_DIR ?= $(KIS_SRC_DIR) | |
@@ -12,16 +18,10 @@ top_builddir = $(BLDHOME) | |
-include $(KIS_SRC_DIR)/Makefile.inc | |
# Set sane values if we don't have the base config | |
-INSTALL ?= /usr/bin/install | |
plugindir ?= $(shell pkg-config --variable=plugindir kismet) | |
INSTUSR ?= root | |
INSTGRP ?= root | |
-# As we have no live code, all we need is the manifest.conf to "compile" | |
-all: manifest.conf | |
- | |
-# We have no requirements for install or userinstall, we just copy our data | |
-install: | |
ifeq ("$(plugindir)", "") | |
echo "No kismet install found in pkgconfig, assuming /usr/local" | |
plugindir = "/usr/local/lib/kismet/" |
Author
steev
commented
Dec 17, 2019
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment