| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # export DH_VERBOSE = 1 |
| 4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=cmake |
| 8 | |
| 9 | override_dh_auto_configure: |
| 10 | dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON -DWITH_STATIC_LIBRARIES=ON -DWITH_SHARED_LIBRARIES=ON |
| 11 | |
| 12 | # Use upstream ChangeLog for installation |
| 13 | override_dh_installchangelogs: |
| 14 | dh_installchangelogs -k ChangeLog |
| 15 | |
| 16 | # Do not enable services by default |
| 17 | override_dh_installsystemd: |
| 18 | dh_installsystemd --no-enable |