#!/usr/bin/make -f

export DEB_CFLAGS_MAINT_APPEND := -D_SYS_REGSET_H -DHAVE_CONFIG_H
export DEB_LDFLAGS_MAINT_APPEND := -nodefaultlibs -lc

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --disable-dbus

override_dh_install-arch:
	dh_install --fail-missing
	# pcap-filter man page goes into libpcap0.8 (#527599)
	rm debian/libpcap0.8-dev/usr/share/man/man5/pcap-filter.5

#override_dh_strip-arch:
#	dh_strip --dbg-package=libpcap0.8-dbg

override_dh_makeshlibs-arch:
	dh_makeshlibs -- -c4
