| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # This script uses debhelper by Joey Hess |
| 4 | # export DH_VERBOSE=1 |
| 5 | |
| 6 | include /usr/share/dpkg/architecture.mk |
| 7 | include /usr/share/dpkg/buildflags.mk |
| 8 | |
| 9 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 10 | |
| 11 | ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) |
| 12 | export CC=$(DEB_HOST_GNU_TYPE)-gcc |
| 13 | endif |
| 14 | |
| 15 | %: |
| 16 | dh $@ |
| 17 | |
| 18 | override_dh_auto_install: |
| 19 | $(MAKE) install DESTDIR=$(CURDIR)/debian/fdupes/ |
| 20 | |
| 21 | override_dh_installdocs: |
| 22 | dh_installdocs CONTRIBUTORS |