debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | |
| 6 | # Uncomment this to turn on all hardening flags |
| 7 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 | |
| 9 | export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,) |
| 10 | |
| 11 | %: |
| 12 | dh $@ |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | dh_auto_configure -- \ |
| 16 | -DUDEVDIR=/$(deb_udevdir) \ |
| 17 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5 |