]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
suricata-update: build before install
authorJason Ish <jason.ish@oisf.net>
Tue, 8 Oct 2019 21:34:26 +0000 (15:34 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 10 Oct 2019 05:47:15 +0000 (07:47 +0200)
Run the Python build independent of install. Prevents files
in the tree becoming owned by root.

suricata-update/Makefile.am

index fedf5647f315230e5982ecd5a4bcc32464f605b0..fe896fb5d4a24099212d0346f38b2b0a42c96031 100644 (file)
@@ -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) \