Commit 4d459c1a authored by Jonas Smedegaard's avatar Jonas Smedegaard

Fix repeat debhelper options when overriding.

parent 9d8066aa
......@@ -15,7 +15,7 @@ _mkman = PYTHONPATH=$(python3path) \
# generate shell completion scripts
override_dh_auto_build:
dh_auto_build
dh_auto_build --buildsystem=pybuild
PATH="$(path_build)" PYTHONPATH="$(python3path_build)" \
_ONTOSPY_COMPLETE=source $(cmd) \
> debian/bash-completion || true
......@@ -26,7 +26,7 @@ override_dh_auto_build:
# check shell script
# * try but distrust upstream testsuite
override_dh_auto_test:
dh_auto_test || true
dh_auto_test --buildsystem=pybuild || true
PATH="$(path_build):$(PATH)" PYTHONPATH="$(python3path_build)" \
prove debian/tests/*.t
shellcheck --shell bash --exclude=SC2086,SC2206,SC2207,SC2235 \
......@@ -34,7 +34,7 @@ override_dh_auto_test:
# generate manpage based on --help option of script itself
override_dh_auto_install:
dh_auto_install
dh_auto_install --buildsystem=pybuild
$(call _mkman, $(destdir)/usr/bin/$(cmd), debian/$(cmd).1, \
command-line tool to inspect and visualize RDF models)
find $(destdir)/usr/lib -name '*.pyc' -delete
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment