mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
705 B
Makefile
30 lines
705 B
Makefile
7 years ago
|
EXTRA_DIST = setup.py \
|
||
|
bin \
|
||
|
suricata
|
||
|
|
||
|
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 -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/suricata
|
||
|
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
|