From: Jason Ish Date: Tue, 8 Oct 2019 21:34:26 +0000 (-0600) Subject: suricata-update: build before install X-Git-Tag: suricata-5.0.0~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26dcef1290cfabdcabc044107d6e28dde75c35f0;p=thirdparty%2Fsuricata.git suricata-update: build before install Run the Python build independent of install. Prevents files in the tree becoming owned by root. --- 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) \