1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#! /usr/bin/make -f
export PYBUILD_NAME=cocotb
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export COCOTB_IGNORE_PYTHON_REQUIRES=1
%:
dh $@ --with python3 --buildsystem=pybuild --no-parallel
# Prevent addition of multiarch tuples to cocotb/libs/lib*.so:
override_dh_python3:
dh_python3 --no-ext-rename
override_dh_auto_build:
dh_auto_build
PYTHONPATH=src/ help2man 'python3 src/cocotb_tools/config.py' \
--no-info --version-string=- -n 'Query cocotb configuration' | \
sed -e 's#config\.py#cocotb-config#g;s#usage: ##' \
> cocotb-config.1
|