#!/usr/bin/make -f

#Enable some hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with python3 --with numpy3

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON

override_dh_auto_test:
	- dh_auto_test

override_dh_installexamples:
	- dh_installexamples --exclude=.gitignore

override_dh_auto_clean:
	rm -rf docs/doxygen/doxyxml/__pycache__
	rm -rf docs/doxygen/doxyxml/generated/__pycache__
	rm -rf python/satyaml/__pycache__
	dh_auto_clean $@
