Merging lxpanel-dev into lxpanel package itself, lxpanel-dev only contained one heade...
[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 ${@} --with autoreconf
10
11 autoreconf:
12         autoreconf --install --force
13         intltoolize --copy --force --automake
14
15 override_dh_autoreconf:
16         dh_autoreconf debian/rules -- autoreconf
17
18 override_dh_auto_configure:
19 ifeq ($(DEB_HOST_ARCH_OS),linux)
20         dh_auto_configure -- --enable-man --with-plugins=all
21 else
22         # omit netstat plugin on non-linux, requires wireless-tools
23         dh_auto_configure -- --enable-man --with-plugins=netstatus,volume,volumealsa,cpu,deskno,batt,kbled,xkb,thermal,cpufreq,monitors,wnckpager
24 endif
25
26 override_dh_auto_test:
27         # disabled: test fails in po directory
28
29 override_dh_builddeb:
30         dh_builddeb -- -Zxz -z9