#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
			--with-pager=/etc/alternatives/pager \
			--disable-rpath \
			--with-libidn2

override_dh_clean:
	rm -f doc/lftp.inf*
	dh_clean

override_dh_install:
	dh_install
	rm -rf $(CURDIR)/debian/*/usr/lib
