1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/usr/bin/make -f
# DH_VERBOSE := 1
export http_proxy='127.0.0.1:9'
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
execute_after_dh_auto_clean:
rm -f tombo/_c_dynamic_programming.cpp tombo/_c_helper.cpp
execute_after_dh_fixperms:
find debian -name "*.model" -exec chmod -x {} \;
find debian -name "shell_tests.sh" -type f -executable -exec chmod -x {} \+
execute_after_dh_auto_build:
sphinx-build -N -bhtml docs docs/build
execute_after_dh_install:
rm -f docs/tombo.rst
rm -rf docs/build
execute_after_dh_python3:
dh_numpy3
|