File: rules

package info (click to toggle)
upower 0.99.4-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,228 kB
  • ctags: 2,904
  • sloc: ansic: 12,118; sh: 11,975; xml: 2,053; python: 666; makefile: 649
file content (26 lines) | stat: -rwxr-xr-x 551 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
26
#!/usr/bin/make -f

%:
	dh $@ --with gir

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-gtk-doc \
		--enable-introspection \
		--enable-deprecated \
		--with-systemdutildir=/lib/systemd \
		--with-systemdsystemunitdir=/lib/systemd/system \
		--libexecdir=\$${prefix}/lib/upower

override_dh_auto_build:
	dh_auto_build
	make -C po upower.pot

override_dh_auto_test:
	# test suite needs system D-BUS and thus does not work on buildds

override_dh_install:
	dh_install --fail-missing -X.la

override_dh_makeshlibs:
	dh_makeshlibs -- -c4