1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
export PYBUILD_BEFORE_TEST=cp -r {dir}/scripts {build_dir}
export PYBUILD_AFTER_TEST=rm -r {build_dir}/scripts
export PYBUILD_SYSTEM=pyproject
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
override_dh_missing:
dh_missing --list-missing
override_dh_install:
dh_install -Xrequirement -XREADME
execute_after_dh_fixperms:
chmod 644 debian/gvm-tools/usr/share/gvm-tools/*.gmp.py
chmod 644 debian/gvm-tools/usr/share/gvm-tools/start-scans-from-csv.py
chmod 644 debian/gvm-tools/usr/share/gvm-tools/stop-scans-from-csv.py
|