| 1 | #!/usr/bin/make -f |
| 2 | #export DH_VERBOSE = 1 |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 5 | export DEB_CXXFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS) |
| 6 | |
| 7 | %: |
| 8 | dh $@ |
| 9 | |
| 10 | override_dh_auto_build: |
| 11 | dh_auto_build -- BUILT_PROGRAMS="src/delly" PARALLEL=1 |
| 12 | chrpath -d src/delly |
| 13 | |
| 14 | override_dh_auto_install: |
| 15 | # avoiding redundant compile of delly |
| 16 | |
| 17 | override_dh_auto_clean: |
| 18 | dh_auto_clean |
| 19 | rm -rf src/dpe src/delly bin/delly |