c62c7a902a8b45e09681869fd12272046832bdba
[lxde/lxpanel.git] / debian / rules
1 #!/usr/bin/make -f
2
3 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6
7 %:
8         dh ${@} --parallel --with autoreconf
9
10 override_dh_autoreconf:
11         dh_autoreconf ./autogen.sh -- 
12
13 override_dh_auto_configure:
14 ifeq ($(DEB_HOST_ARCH_OS),linux)
15         dh_auto_configure -- --enable-man --with-plugins=all --disable-silent-rules
16 else
17         # omit netstat plugin on non-linux, requires wireless-tools
18         dh_auto_configure -- --enable-man --with-plugins=all,-netstat --disable-silent-rules
19 endif
20
21 override_dh_strip:
22         dh_strip --dbg-package=lxpanel-dbg
23
24 override_dh_makeshlibs:
25         # plugins are not shared libs so disable processing for them
26         dh_makeshlibs -X/plugins/