SUBDIRS = . testutils tests benchmarks
-dhcp_data_dir = @localstatedir@/@PACKAGE@
+dhcp_data_dir = @localstatedir@/lib/@PACKAGE@
kea_lfc_location = @prefix@/sbin/kea-lfc
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib -DDHCP_DATA_DIR="\"$(dhcp_data_dir)\""
fi
# Need a path for temporary files created during upgrade data migration
-# Use the state directory in the install path directory if it exists, otherwise
+# Use the state directory in the install path directory if it exists, otherwise
# use the build tree
-if [ -e "@localstatedir@/@PACKAGE_NAME@" ]; then
- temp_file_dir="@localstatedir@/@PACKAGE_NAME@"
+if [ -e "@localstatedir@/lib/@PACKAGE_NAME@" ]; then
+ temp_file_dir="@localstatedir@/lib/@PACKAGE_NAME@"
else
temp_file_dir="@abs_top_builddir@/src/share/database/scripts/cql"
fi
fi
# Need a path for temporary files created during upgrade data migration
-# Use the state directory in the install path directory if it exists, otherwise
+# Use the state directory in the install path directory if it exists, otherwise
# use the build tree
-if [ -e "@localstatedir@/@PACKAGE_NAME@" ]; then
- temp_file_dir="@localstatedir@/@PACKAGE_NAME@"
+if [ -e "@localstatedir@/lib/@PACKAGE_NAME@" ]; then
+ temp_file_dir="@localstatedir@/lib/@PACKAGE_NAME@"
else
temp_file_dir="@abs_top_builddir@/src/share/database/scripts/cql"
fi