File: rules

package info (click to toggle)
urjtag 2021.03-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,232 kB
  • sloc: ansic: 56,769; sh: 4,897; yacc: 2,159; lex: 1,545; vhdl: 1,324; makefile: 1,275; python: 72; sed: 16
file content (24 lines) | stat: -rwxr-xr-x 565 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export PYBUILD_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_configure:
	dh_auto_configure -- --disable-python
	dh_auto_configure --buildsystem=pybuild --sourcedirectory=bindings/python/

override_dh_auto_build:
	dh_auto_build
	dh_auto_build --buildsystem=pybuild --sourcedirectory=bindings/python/

override_dh_auto_install:
	dh_auto_install
	dh_auto_install --buildsystem=pybuild --sourcedirectory=bindings/python/

%:
	dh $@ --with python3

# l l