From: Roy Marples Date: Sun, 27 Jul 2008 18:04:44 +0000 (+0000) Subject: Inherit DBDIR and LIBEXECDIR from the env. X-Git-Tag: v4.0.2~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb4446e8d6f37cab32f0f82760dd64f53c48cbc2;p=thirdparty%2Fdhcpcd.git Inherit DBDIR and LIBEXECDIR from the env. --- diff --git a/Makefile b/Makefile index fb38fe41..fdb566f0 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ SCRIPT= ${LIBEXECDIR}/dhcpcd-run-hooks HOOKDIR= ${LIBEXECDIR}/dhcpcd-hooks BINDIR= ${PREFIX}/sbin -DBDIR= /var/db +DBDIR?= /var/db SYSCONFDIR?= ${PREFIX}/etc MAN= dhcpcd.conf.5 dhcpcd.8 dhcpcd-run-hooks.8 diff --git a/dhcpcd-hooks/Makefile b/dhcpcd-hooks/Makefile index 06660ac0..d1f8104d 100644 --- a/dhcpcd-hooks/Makefile +++ b/dhcpcd-hooks/Makefile @@ -1,4 +1,4 @@ -LIBEXECDIR= ${PREFIX}/libexec +LIBEXECDIR?= ${PREFIX}/libexec HOOKDIR= ${LIBEXECDIR}/dhcpcd-hooks SYSTEMSCRIPTS= 01-test 10-mtu 20-resolv.conf 30-hostname FILES= ${SYSTEMSCRIPTS} ${HOOKSCRIPTS}