File: rules

package info (click to toggle)
kazam 1.4.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,816 kB
  • sloc: python: 3,552; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 361 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
	SUBSTVARS = -Vdist:Depends="gir1.2-appindicator3-0.1"
else
	SUBSTVARS = -Vdist:Depends=""
endif

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

override_dh_auto_install:
	dh_auto_install
	dh_installman debian/kazam.1

override_dh_gencontrol:
	dh_gencontrol -- $(SUBSTVARS)