1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_HOST_MULTIARCH
#Enable some hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with python3 --with numpy3
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_MODULES_DIR="lib/$(DEB_HOST_MULTIARCH)/cmake" \
-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 $@
|