diff --git a/Makefile.am b/Makefile.am index a5a71f710e..9bf75c9501 100644 --- a/Makefile.am +++ b/Makefile.am @@ -31,6 +31,7 @@ install-conf: install -d "$(DESTDIR)$(e_logcertsdir)" install -d "$(DESTDIR)$(e_rundir)" install -m 770 -d "$(DESTDIR)$(e_localstatedir)" + install -m 770 -d "$(DESTDIR)$(e_datadir)" install-rules: if INSTALL_SURICATA_UPDATE diff --git a/configure.ac b/configure.ac index 03800c3717..c4afb2b95c 100644 --- a/configure.ac +++ b/configure.ac @@ -2562,6 +2562,7 @@ AC_SUBST(e_logcertsdir) AC_SUBST(e_sysconfdir) AC_DEFINE_UNQUOTED([CONFIG_DIR],["$e_sysconfdir"],[Our CONFIG_DIR]) AC_SUBST(e_localstatedir) +AC_SUBST(e_datadir) AC_DEFINE_UNQUOTED([DATA_DIR],["$e_datadir"],[Our DATA_DIR]) AC_SUBST(e_magic_file) AC_SUBST(e_magic_file_comment)