File: rules

package info (click to toggle)
kazam 1.4.5-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,688 kB
  • ctags: 402
  • sloc: python: 3,542; makefile: 17
file content (24 lines) | stat: -rwxr-xr-x 515 bytes parent folder | download | duplicates (3)
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

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

override_dh_auto_build:
	python3 setup.py build

override_dh_auto_install:
	python3 setup.py install --install-layout=deb --root=$(CURDIR)/debian/kazam
	dh_installman debian/kazam.1

override_dh_auto_clean:
	rm -rf build/
	python3 setup.py clean -a

override_dh_gencontrol:
	dh_gencontrol -- $(SUBSTVARS)