From 928b9ae57452aae1dff92ad689ba180fa975381c Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Mon, 17 Jun 2019 15:47:32 +0200 Subject: [PATCH] [538-kea-should-not-store-anything-in-var-kea-lsb-violation] Explained DATA_DIR usages (*plural*) --- src/lib/dhcpsrv/Makefile.am | 2 ++ src/lib/process/Makefile.am | 1 + 2 files changed, 3 insertions(+) diff --git a/src/lib/dhcpsrv/Makefile.am b/src/lib/dhcpsrv/Makefile.am index 0db7d30fc3..486dd7eff2 100644 --- a/src/lib/dhcpsrv/Makefile.am +++ b/src/lib/dhcpsrv/Makefile.am @@ -2,6 +2,8 @@ AUTOMAKE_OPTIONS = subdir-objects SUBDIRS = . testutils tests benchmarks +# DATA_DIR is the directory where to put default CSV files and the DHCPv6 +# server ID file (i.e. the file where the server finds its DUID at startup). dhcp_data_dir = @localstatedir@/lib/@PACKAGE@ kea_lfc_location = @prefix@/sbin/kea-lfc diff --git a/src/lib/process/Makefile.am b/src/lib/process/Makefile.am index 29b3868032..9e8f66f147 100644 --- a/src/lib/process/Makefile.am +++ b/src/lib/process/Makefile.am @@ -1,4 +1,5 @@ SUBDIRS = . testutils tests +# DATA_DIR is the directory where to put PID files. dhcp_data_dir = @runstatedir@/@PACKAGE@ AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib AM_CPPFLAGS += -DDATA_DIR="\"$(dhcp_data_dir)\"" -- 2.47.2