File: rules

package info (click to toggle)
software-properties 0.111-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,944 kB
  • sloc: python: 8,238; makefile: 19; sh: 18; xml: 10
file content (25 lines) | stat: -rwxr-xr-x 1,003 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
25
#!/usr/bin/make -f

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_install:
	rm $(CURDIR)/debian/tmp/usr/share/applications/software-properties-drivers.desktop
	rm $(CURDIR)/debian/tmp/usr/share/applications/software-properties-drivers-lxqt.desktop
	rm $(CURDIR)/debian/tmp/usr/share/applications/software-properties-livepatch.desktop
	rm $(CURDIR)/debian/tmp/usr/share/software-properties/ubuntu-pro-logo.svg
	rm $(CURDIR)/debian/tmp/usr/share/software-properties/ubuntu-pro-logo-dark.svg
	rm $(CURDIR)/debian/tmp/usr/share/icons/hicolor/*/apps/livepatch.svg
	rm $(CURDIR)/debian/tmp/usr/share/doc/software-properties/README
	rm -rf $(CURDIR)/debian/tmp/usr/lib/python3*/dist-packages/softwareproperties/__pycache__
	rm -rf $(CURDIR)/debian/tmp/usr/lib/python3*/dist-packages/softwareproperties/*/__pycache__
	dh_install

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

override_dh_missing:
	dh_missing --list-missing

override_dh_auto_test:
	dbus-run-session -- dh_auto_test