debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # optimize=-lto because I use Meson's LTO |
| 4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto qa=+all |
| 5 | |
| 6 | export systemd_system_unit_dir = $(shell pkg-config --variable=systemd_system_unit_dir systemd | sed s,^/,,) |
| 7 | |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | dh_auto_configure -- -Db_lto=true |