File: rules

package info (click to toggle)
cocotb 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,876 kB
  • sloc: cpp: 16,274; python: 9,189; sh: 70; makefile: 13
file content (18 lines) | stat: -rwxr-xr-x 553 bytes parent folder | download
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