#!/usr/bin/make -f

#export DH_VERBOSE = 1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-included-zlib=no --with-included-popt=no
	$(MAKE) -f prepare-source.mak

# We are installing to /usr/libexec, see debian/install
# Do not duplicate into /usr/bin
override_dh_auto_install:
