Releasing debian version 0.10.0-2.
[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)
bdaa157a 4DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
ceae02d0 5
be3ccd97 6export DEB_BUILD_MAINT_OPTIONS = hardening=+all
807a1985 7
7ae3952f 8%:
a0a5b4ee 9 dh ${@}
011cf3fe
AG
10
11override_dh_autoreconf:
930a9b28 12 dh_autoreconf ./autogen.sh --
6f31b6c9 13
7ae3952f 14override_dh_auto_configure:
5f1d39cc 15ifeq ($(DEB_HOST_ARCH_OS),linux)
f230c7d5 16 dh_auto_configure -- --with-plugins=all --disable-silent-rules
5f1d39cc 17else
ceae02d0 18 # omit netstat plugin on non-linux, requires wireless-tools
7cf1df51 19 dh_auto_configure -- --with-plugins=all,-netstat --disable-silent-rules --disable-alsa
ceae02d0 20endif
6f31b6c9 21
0d509f4d
DB
22override_dh_strip:
23 dh_strip --dbg-package=lxpanel-dbg
baafee54
AG
24
25override_dh_makeshlibs:
aacbfc9e 26 # package does not provide public shared libs so disable processing
bdaa157a
AG
27
28# remove unused .la file from the package
29override_dh_auto_install:
30 dh_auto_install
31 rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lxpanel/*.la