| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # see FEATURE AREAS in dpkg-buildflags(1) |
| 4 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all reproducible=+all future=+lfs |
| 5 | |
| 6 | CPPFLAGS+=-DNDEBUG |
| 7 | |
| 8 | %: |
| 9 | dh $@ --buildsystem=cmake+ninja |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | dh_auto_configure -- \ |
| 13 | -DBUILD_SHARED_LIBS=ON \ |
| 14 | -DUSE_THIRDPARTY_LIBRARIES=OFF |
| 15 | |
| 16 | override_dh_auto_build: |
| 17 | dh_auto_build |
| 18 | cd doc && doxygen && rm -f html/*.md5 |
| 19 | find doc/html -name '*.html' -type f | xargs sed -i -e "s,$(CURDIR),,g" |