| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=cmake |
| 8 | |
| 9 | override_dh_auto_configure: |
| 10 | QT_SELECT=qt5 dh_auto_configure -- -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DUSE_QT5=True -DWITH_DOC=$(if $(filter libdbusmenu-qt5-doc, $(shell dh_listpackages)),ON,OFF) |
| 11 | |
| 12 | execute_after_dh_auto_install-indep: |
| 13 | # Removing embedded jquery javascript library |
| 14 | rm debian/tmp/usr/share/doc/libdbusmenu-qt5-doc/jquery.js |
| 15 | |
| 16 | override_dh_auto_test: |
| 17 | # Skipping tests (can't test inside chroot)... |
| 18 | : |