| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | |
| 6 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 | |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | dh_auto_configure -- \ |
| 13 | --with-pager=/etc/alternatives/pager \ |
| 14 | --disable-rpath \ |
| 15 | --with-libidn2 |
| 16 | |
| 17 | override_dh_clean: |
| 18 | rm -f doc/lftp.inf* |
| 19 | dh_clean |
| 20 | |
| 21 | override_dh_install: |
| 22 | dh_install |
| 23 | rm -rf $(CURDIR)/debian/*/usr/lib |