Adding --disable-silent-rules to fix buildlog checker warning.
[debian/lxpanel.git] / debian / rules
1 #!/usr/bin/make -f
2
3 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
4
5 # lxpanel does not build (yet) with hardening
6 export DEB_BUILD_MAINT_OPTIONS = hardening=-all
7
8 %:
9         dh ${@}
10
11 override_dh_auto_configure:
12 ifeq ($(DEB_HOST_ARCH_OS),linux)
13         dh_auto_configure -- --enable-man --with-plugins=all --disable-silent-rules
14 else
15         # omit netstat plugin on non-linux, requires wireless-tools
16         dh_auto_configure -- --enable-man --with-plugins=netstatus,volume,volumealsa,cpu,deskno,batt,kbled,xkb,thermal,cpufreq,monitors,wnckpager
17 endif
18
19 override_dh_auto_install:
20         dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxpanel
21
22 override_dh_builddeb:
23         dh_builddeb -- -Zxz -z9
24
25 override_dh_strip:
26         dh_strip --dbg-package=lxpanel-dbg