suricata/python/Makefile.am
Jason Ish a7d90162d1 suricatasc: move into python/
Will be built and installed as part of the Python code used
for suricatactl, which is intended to be the generic place
for all Python utility code that gets installed with Suricata.

No change to suricatasc code.
2018-03-28 08:49:41 +02:00

32 lines
824 B
Makefile

EXTRA_DIST = setup.py \
bin \
suricata \
suricatasc
if HAVE_PYTHON
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) \
install --prefix $(DESTDIR)$(prefix)
uninstall-local:
rm -f $(DESTDIR)$(bindir)/suricatactl
rm -f $(DESTDIR)$(bindir)/suricatasc
rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/suricata
rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/suricatasc
rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/suricata-[0-9]*.egg-info
clean-local:
cd $(srcdir) && \
$(HAVE_PYTHON) setup.py clean \
--build-base $(abs_builddir)
rm -rf scripts-* lib* build
find . -name \*.pyc -print0 | xargs -0 rm -f
distclean-local:
rm -f version
endif