debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # Uncomment this to turn on verbose mode. |
| 3 | #export DH_VERBOSE=1 |
| 4 | |
| 5 | # disable libubootenv debug prints, as these break fw_printenv output. |
| 6 | export DEB_CFLAGS_MAINT_APPEND=-DNDEBUG |
| 7 | |
| 8 | CMAKE_FLAGS = \ |
| 9 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ |
| 10 | -DCMAKE_INSTALL_INCLUDEDIR="include/$(DEB_HOST_MULTIARCH)" |
| 11 | |
| 12 | %: |
| 13 | dh $@ |
| 14 | |
| 15 | override_dh_auto_configure: |
| 16 | dh_auto_configure \ |
| 17 | -- $(CMAKE_FLAGS) |