Use panel_config_int_button_new() to set sane ranges for ints in 'batt' config window.
[lxde/lxpanel.git] / debian / rules
CommitLineData
953e9c1d 1#!/usr/bin/make -f
953e9c1d 2
7349314a 3DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
46c7d227 4DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
953e9c1d 5
6fa0bac6 6export DEB_BUILD_MAINT_OPTIONS = hardening=+all
953e9c1d 7
7349314a 8%:
6fa0bac6 9 dh ${@} --parallel --with autoreconf
7003d894 10
7349314a 11override_dh_autoreconf:
6fa0bac6 12 dh_autoreconf ./autogen.sh --
953e9c1d 13
7349314a
JL
14override_dh_auto_configure:
15ifeq ($(DEB_HOST_ARCH_OS),linux)
6fa0bac6 16 dh_auto_configure -- --enable-man --with-plugins=all --disable-silent-rules
7349314a
JL
17else
18 # omit netstat plugin on non-linux, requires wireless-tools
6fa0bac6 19 dh_auto_configure -- --enable-man --with-plugins=all,-netstat --disable-silent-rules
c0de0581 20endif
953e9c1d 21
f88831ca
JL
22override_dh_strip:
23 dh_strip --dbg-package=lxpanel-dbg
6fa0bac6 24
46c7d227
AG
25override_dh_auto_install:
26 dh_auto_install
27 rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lxpanel/*.la
28
29override_dh_install:
30 dh_install --fail-missing
31
6fa0bac6
AG
32override_dh_makeshlibs:
33 # plugins are not shared libs so disable processing for them
34 dh_makeshlibs -X/plugins/