File: rules

package info (click to toggle)
udisks2 2.1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,944 kB
  • ctags: 5,527
  • sloc: ansic: 28,648; sh: 4,296; xml: 1,682; python: 1,233; makefile: 490
file content (26 lines) | stat: -rwxr-xr-x 600 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,autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--libexecdir=/usr/lib \
		--enable-gtk-doc \
		--enable-fhs-media \
		--with-systemdsystemunitdir=/lib/systemd/system

override_dh_auto_build:
	dh_auto_build
	# make -C po udisks.pot

override_dh_auto_install:
	dh_auto_install
	# install Apport hook on Ubuntu
	if dpkg-vendor --is ubuntu; then \
	    install -m 644 -D debian/local/apport-hook.py debian/udisks2/usr/share/apport/package-hooks/udisks2.py; \
	fi

override_dh_install:
	rm -f debian/tmp/usr/lib/*/*.la
	dh_install --fail-missing