From 26dcef1290cfabdcabc044107d6e28dde75c35f0 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 8 Oct 2019 15:34:26 -0600 Subject: [PATCH] suricata-update: build before install Run the Python build independent of install. Prevents files in the tree becoming owned by root. --- suricata-update/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/suricata-update/Makefile.am b/suricata-update/Makefile.am index fedf5647f3..fe896fb5d4 100644 --- a/suricata-update/Makefile.am +++ b/suricata-update/Makefile.am @@ -2,6 +2,10 @@ if HAVE_PYTHON if HAVE_PYTHON_DISTUTILS if HAVE_PYTHON_YAML +all-local: + cd $(srcdir) && \ + $(HAVE_PYTHON) setup.py build --build-base $(abs_builddir) + install-exec-local: cd $(srcdir) && \ $(HAVE_PYTHON) setup.py build --build-base $(abs_builddir) \ -- 2.47.2