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.
suricata/suricata-update/Makefile.am

31 lines
727 B
Makefile

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)" \
install --prefix $(DESTDIR)$(prefix)
uninstall-local:
rm -f $(DESTDIR)$(bindir)/suricata-update
rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/suricata-update
rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/suricata_update-[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:
endif
endif
endif