BIND 10 trac2770, updated. ba20d4a58b6d7ea93c69681372bd6f1064491d1a [2770] The lib/dhcpsrv Makefile.am was modified to suffix DHCP_DATA_DIR with "/bind10". This causes the dhcp server id files to be located in --localstatedir/bind10. The Makefile also ensures that the directory is created during install.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Mar 20 11:37:56 UTC 2013
The branch, trac2770 has been updated
via ba20d4a58b6d7ea93c69681372bd6f1064491d1a (commit)
from 9bd788945d172e66939dc6d8fdb3016803696cee (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ba20d4a58b6d7ea93c69681372bd6f1064491d1a
Author: Thomas Markwalder <tmark at isc.org>
Date: Wed Mar 20 07:36:41 2013 -0400
[2770] The lib/dhcpsrv Makefile.am was modified to suffix
DHCP_DATA_DIR with "/bind10". This causes the dhcp server id
files to be located in --localstatedir/bind10. The Makefile
also ensures that the directory is created during install.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcpsrv/Makefile.am | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcpsrv/Makefile.am b/src/lib/dhcpsrv/Makefile.am
index db82513..f78cec9 100644
--- a/src/lib/dhcpsrv/Makefile.am
+++ b/src/lib/dhcpsrv/Makefile.am
@@ -1,6 +1,8 @@
SUBDIRS = . tests
-AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib -DDHCP_DATA_DIR="\"$(localstatedir)\""
+dhcp_data_dir = @localstatedir@/@PACKAGE@
+
+AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib -DDHCP_DATA_DIR="\"$(dhcp_data_dir)\""
AM_CPPFLAGS += $(BOOST_INCLUDES)
if HAVE_MYSQL
AM_CPPFLAGS += $(MYSQL_CPPFLAGS)
@@ -74,3 +76,8 @@ EXTRA_DIST = dhcpsrv_messages.mes
# Distribute MySQL schema creation script and backend documentation
EXTRA_DIST += dhcpdb_create.mysql database_backends.dox libdhcpsrv.dox
dist_pkgdata_DATA = dhcpdb_create.mysql
+
+install-data-local:
+ $(mkinstalldirs) $(dhcp_data_dir)
+
+
More information about the bind10-changes
mailing list