| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | %: |
| 6 | dh $@ --no-parallel |
| 7 | |
| 8 | override_dh_auto_clean: |
| 9 | dh_auto_clean |
| 10 | [ ! -f bindings/cpp/Makefile ] || $(MAKE) distclean -C bindings/cpp |
| 11 | rm -f bindings/cpp/doc/Makefile doc/html/* |
| 12 | |
| 13 | override_dh_auto_configure: |
| 14 | # autoreconf again to work around autoconf weirdness, cf. debbug#997360 |
| 15 | # and https://bugzilla.redhat.com/show_bug.cgi?id=1943118 |
| 16 | autoreconf -i -f |
| 17 | dh_auto_configure -- --enable-cxx -with-pic=yes |
| 18 | |
| 19 | override_dh_auto_build: |
| 20 | dh_auto_build |
| 21 | doxygen |