summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2016-06-30 10:40:41 +0200
committerOndřej Surý <ondrej@sury.org>2016-06-30 10:40:41 +0200
commit712d53957dfcb2cfe83364af54241f75166914c7 (patch)
tree89ef2e32f3aa1ed7d94208aa8842e5b81644e877 /config.mk
parentscripts: updated apparmor file (diff)
downloadknot-resolver-712d53957dfcb2cfe83364af54241f75166914c7.tar.xz
knot-resolver-712d53957dfcb2cfe83364af54241f75166914c7.zip
Daemons should be in sbin, make destination variables overridable
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk13
1 files changed, 7 insertions, 6 deletions
diff --git a/config.mk b/config.mk
index cb637444..3ad0f4f6 100644
--- a/config.mk
+++ b/config.mk
@@ -7,12 +7,13 @@ BUILDMODE := dynamic
HARDENING := yes
# Paths
-PREFIX := /usr/local
-BINDIR := $(PREFIX)/bin
-LIBDIR := $(PREFIX)/lib
-INCLUDEDIR := $(PREFIX)/include
-MODULEDIR := $(LIBDIR)/kdns_modules
-ETCDIR := $(PREFIX)/etc/kresd
+PREFIX ?= /usr/local
+BINDIR ?= $(PREFIX)/bin
+SBINDIR ?= $(PREFIX)/sbin
+LIBDIR ?= $(PREFIX)/lib
+INCLUDEDIR ?= $(PREFIX)/include
+MODULEDIR ?= $(LIBDIR)/kdns_modules
+ETCDIR ?= $(PREFIX)/etc/kresd
# Tools
CC ?= cc