#!/usr/bin/make -f

export V=1

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIB_DIR := /usr/lib/$(DEB_HOST_MULTIARCH)

_dhopts := --with autoreconf

_configure := \
  --disable-libipq \
  --enable-devel \
  --libdir=$(LIB_DIR) \
  --with-xtlibdir=$(LIB_DIR)/xtables


%:
	dh $@ $(_dhopts)

override_dh_auto_configure:
	dh_auto_configure -- $(_configure)
