#!/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_auto_clean:
	dh_auto_clean
	rm -f doc/lftp.inf*

override_dh_auto_install:
	dh_auto_install
	rm -rf $(CURDIR)/debian/lftp/usr/lib

# Skip tests, because they need Internet access.
override_dh_auto_test:
