From 7231039ec891acee246549410c70f1151a0c0175 Mon Sep 17 00:00:00 2001 From: Kartik Mistry Date: Wed, 30 Apr 2014 20:40:27 +0530 Subject: 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf