Optimization #3337 ยป python-root.patch
| src/python/Makefile.am | ||
|---|---|---|
|
install-exec-local:
|
||
|
cd $(srcdir) && \
|
||
|
$(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" \
|
||
|
install --prefix $(DESTDIR)$(prefix)
|
||
|
install --root $(DESTDIR) --install-scripts $(bindir) -c -O1 -O2
|
||
|
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
|
||
|
pysitepackages=$(shell $(HAVE_PYTHON) -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") ; \
|
||
|
rm -rf $(DESTDIR)$(pysitepackages)/suricata ; \
|
||
|
rm -rf $(DESTDIR)$(pysitepackages)/suricatasc ; \
|
||
|
rm -rf $(DESTDIR)$(pysitepackages)/suricata-[0-9]*.egg-info
|
||
|
clean-local:
|
||
|
cd $(srcdir) && \
|
||
| src/suricata-update/Makefile.am | ||
|---|---|---|
|
install-exec-local:
|
||
|
cd $(srcdir) && \
|
||
|
$(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" \
|
||
|
install --prefix $(DESTDIR)$(prefix)
|
||
|
install --root $(DESTDIR) --install-scripts $(bindir) -c -O1 -O2
|
||
|
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
|
||
|
pysitepackages=$(shell $(HAVE_PYTHON) -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") ; \
|
||
|
rm -rf $(DESTDIR)$(pysitepackages)/suricata-update ; \
|
||
|
rm -rf $(DESTDIR)$(pysitepackages)/suricata_update-[0-9]*.egg-info
|
||
|
clean-local:
|
||
|
cd $(srcdir) && \
|
||