summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKartik Mistry <kartik.mistry@gmail.com>2014-04-30 20:40:27 +0530
committerTobias Klauser <tklauser@distanz.ch>2014-04-30 17:24:20 +0200
commit7231039ec891acee246549410c70f1151a0c0175 (patch)
tree3f4a258289aaf89728bc056b6af37d800346d66e
parent1b5611fafbed8d0e04a17b2a53ff78b003165598 (diff)
build: Do not add PREFIX to ETCDIR
This will fix issue of installation of configuration files to /usr/local/etc (or /usr/etc for distribution builds) instead of /etc. [tklauser: extended description a bit] Signed-off-by: Kartik Mistry <kartik.mistry@gmail.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 64084df..b435ed5 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ DESTDIR=
# Location of installation paths.
SBINDIR = $(PREFIX)/sbin
INCDIR = $(PREFIX)/include
-ETCDIR = $(PREFIX)/etc
+ETCDIR = /etc
ETCDIRE = $(ETCDIR)/netsniff-ng
MAN8DIR = $(PREFIX)/share/man/man8