File: rules

package info (click to toggle)
blueman 2.3.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,408 kB
  • sloc: python: 11,131; sh: 5,063; makefile: 1,329; ansic: 389; xml: 194; sed: 16
file content (22 lines) | stat: -rwxr-xr-x 638 bytes parent folder | download | duplicates (2)
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=/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