| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | INSTDIR=debian/tmp |
| 6 | |
| 7 | %: |
| 8 | dh $@ |
| 9 | |
| 10 | override_dh_auto_configure: |
| 11 | dh_auto_configure -- \ |
| 12 | --bindir=/usr/lib/libraw \ |
| 13 | --enable-jpeg |
| 14 | |
| 15 | override_dh_install: |
| 16 | rm -f $(INSTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/*.la |
| 17 | rm -f $(INSTDIR)/usr/share/doc/libraw/LICENSE.* |
| 18 | rm -f $(INSTDIR)/usr/share/doc/libraw/Changelog.txt |
| 19 | rm -f $(INSTDIR)/usr/share/doc/libraw/COPYRIGHT |
| 20 | dh_install |