aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/suricata/scripts/suricatasc/Makefile.am
blob: 63989347dc9aaed55a4c6dfefb62c302699df5e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
EXTRA_DIST = setup.py suricatasc.in src/__init__.py src/suricatasc.py

if HAVE_PYTHON
all-local:
	mkdir -p $(top_builddir)/scripts/suricatasc/src
	$(PYTHON) $(srcdir)/setup.py build;

install-exec-local:
	$(PYTHON) $(srcdir)/setup.py install --prefix $(DESTDIR)$(prefix)

clean-local:
	$(PYTHON) $(srcdir)/setup.py clean;
	rm -rf $(top_builddir)/scripts/suricatasc/build

uninstall-local:
	[ ! -f "$(DESTDIR)$(prefix)/bin/suricatasc" ] || rm -f "$(DESTDIR)$(prefix)/bin/suricatasc"
	find "$(DESTDIR)$(prefix)/lib" -name "suricatasc-*.egg-info" -delete ||true

endif