| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | #export DH_VERBOSE=1 |
| 4 | export V=1 |
| 5 | |
| 6 | ## Enable compiler hardening flags. |
| 7 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 | |
| 9 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 10 | |
| 11 | %: |
| 12 | dh $@ --with autoreconf |
| 13 | |
| 14 | override_dh_compress: |
| 15 | # Doxygen cannot handle compressed tag files |
| 16 | dh_compress -X.tag |
| 17 | |
| 18 | override_dh_clean: |
| 19 | dh_clean |
| 20 | # Remove Doxygen generated documentation |
| 21 | rm -f docs/reference/doxygen_sqlite3.db |
| 22 | rm -f docs/reference/gstreamermm-1.0.devhelp2 |
| 23 | rm -f docs/reference/gstreamermm-1.0.tag |
| 24 | rm -rf docs/reference/html |