| 1 | #!/usr/bin/make -f |
| 2 | include /usr/share/dpkg/default.mk |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all,optimize=-lto |
| 4 | export DEB_CXXFLAGS_MAINT_APPEND = -Wl,-z,now |
| 5 | |
| 6 | export QT_SELECT := 5 |
| 7 | %: |
| 8 | dh $@ |
| 9 | |
| 10 | override_dh_auto_configure: |
| 11 | dh_auto_configure -- \ |
| 12 | -DCMAKE_BUILD_TYPE=Release \ |
| 13 | -DCMAKE_INSTALL_PREFIX=/usr \ |
| 14 | -DAPP_VERSION=$(DEB_VERSION_UPSTREAM) -DVERSION=$(DEB_VERSION_UPSTREAM) |