Merging lxpanel-dev into lxpanel package itself, lxpanel-dev only contained one heade...
[debian/lxpanel.git] / debian / rules
CommitLineData
6f31b6c9 1#!/usr/bin/make -f
6f31b6c9 2
36dc3f6c 3DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ceae02d0 4
807a1985
DB
5# lxpanel does not build (yet) with hardening
6export DEB_BUILD_MAINT_OPTIONS = hardening=-all
7
7ae3952f 8%:
077dc473
DB
9 dh ${@} --with autoreconf
10
11autoreconf:
12 autoreconf --install --force
13 intltoolize --copy --force --automake
14
15override_dh_autoreconf:
16 dh_autoreconf debian/rules -- autoreconf
6f31b6c9 17
7ae3952f 18override_dh_auto_configure:
5f1d39cc
DB
19ifeq ($(DEB_HOST_ARCH_OS),linux)
20 dh_auto_configure -- --enable-man --with-plugins=all
21else
ceae02d0
DB
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
ceae02d0 24endif
6f31b6c9 25
89e17c3c
DB
26override_dh_auto_test:
27 # disabled: test fails in po directory
28
c093ebc9
DB
29override_dh_builddeb:
30 dh_builddeb -- -Zxz -z9