File: rules

package info (click to toggle)
blueman 2.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,428 kB
  • sloc: python: 11,744; sh: 5,063; makefile: 899; ansic: 343; xml: 207; sed: 16
file content (22 lines) | stat: -rwxr-xr-x 642 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
#!/usr/bin/make -f

export PYTHON=python3
export CYTHONEXEC=cython3

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_configure:
	dh_auto_configure -- --disable-runtime-deps-check --with-dhcp-config=/etc/dhcp/dhcpd.conf --with-systemdsystemunitdir=/usr/lib/systemd/system

override_dh_auto_install:
	dh_auto_install
	rm debian/blueman/usr/share/doc/blueman/COPYING
	rm debian/blueman/usr/lib/python*/site-packages/_blueman.la
	rm debian/blueman/usr/lib/python*/site-packages/_blueman.a

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3
	dh_python3 --shebang=/usr/bin/python3 /usr/libexec

%:
	dh $@ --with python3