#!/usr/bin/make -f

export LC_ALL = C.UTF-8
export PYBUILD_AFTER_TEST=rm -f {build_dir}/callgraph.gml {build_dir}/test_session

%:
	dh $@ --buildsystem=pybuild

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3 \
		--depends-section=magic \
		--recommends-section=GUI \
		--recommends-section=graphing

# do not strip the test/example files!
override_dh_strip_nondeterminism:
	dh_strip_nondeterminism -O--buildsystem=pybuild \
		--exclude=debian/androguard/usr/share/doc/androguard/examples

override_dh_compress:
	dh_compress -X usr/share/doc/androguard/examples
