| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 4 | export BUILD_DIR=debian/build |
| 5 | |
| 6 | %: |
| 7 | dh $@ --builddirectory=$(BUILD_DIR) |
| 8 | |
| 9 | override_dh_auto_configure: |
| 10 | dh_auto_configure --builddirectory=$(BUILD_DIR) -- \ |
| 11 | -DBUILD_SHARED_LIBS=ON \ |
| 12 | -DNAMESPACE=martchus \ |
| 13 | -DPACKAGE_NAMESPACE=martchus \ |
| 14 | -DQT_PACKAGE_PREFIX=Qt6 |
| 15 | |
| 16 | override_dh_auto_test: |
| 17 | QT_QPA_PLATFORM=offscreen $(MAKE) -C $(BUILD_DIR) check |