| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 5 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 6 | |
| 7 | %: |
| 8 | dh ${@} |
| 9 | |
| 10 | override_dh_auto_build: |
| 11 | dh_auto_build -- 'LD=$$(CC)' |
| 12 | |
| 13 | override_dh_auto_install: |
| 14 | dh_auto_install -- \ |
| 15 | INSTALL='install --strip-program=/bin/true' \ |
| 16 | BIN_DIR=$(CURDIR)/debian/bchunk/usr/bin \ |
| 17 | MAN_DIR=$(CURDIR)/debian/bchunk/usr/share/man |