#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh  $@ --without autoreconf

# This project is too old to understand --runstatedir
# We could use debhelper compat 10 or just do this manually:
override_dh_auto_configure:
	./configure --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man \
	--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking \
	--disable-silent-rules --libdir=\${prefix}/lib/$(DEB_BUILD_GNU_TYPE) --disable-maintainer-mode \
	--disable-dependency-tracking \
	--disable-gimp
