File: rules

package info (click to toggle)
libfm 0.1.17-2.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,068 kB
  • sloc: ansic: 29,193; sh: 11,008; makefile: 491; xml: 113; python: 34
file content (34 lines) | stat: -rwxr-xr-x 720 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
27
28
29
30
31
32
33
34
#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

# libfm does not build (yet) with hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=-all

%:
	dh ${@}

override_dh_auto_configure:
	autoreconf -i

	dh_auto_configure -- --enable-udisks --enable-gtk-doc

override_dh_auto_install:
	dh_auto_install

	# removing unused files
	rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.a
	rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la

override_dh_auto_test:
	# disabled: fails

override_dh_builddeb:
	dh_builddeb -- -Zxz -z9

override_dh_install:
	dh_install --fail-missing

override_dh_strip:
	dh_strip -plibfm1 -plibfm-gtk1 --dbg-package=libfm1-dbg
	dh_strip -Nlibfm1 -Nlibfm-gtk1