| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Get full logs in tests |
| 5 |
export G_MESSAGES_DEBUG=all |
| 6 |
|
| 7 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ --with click |
| 11 |
|
| 12 |
override_dh_auto_configure: |
| 13 |
dh_auto_configure -- \ |
| 14 |
-DENABLE_MIRCLIENT=OFF \ |
| 15 |
-DENABLE_COVERAGE=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON) \ |
| 16 |
-DENABLE_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON) |
| 17 |
|
| 18 |
override_dh_click: |
| 19 |
dh_click --name lomiri-app-launch-desktop |
| 20 |
|
| 21 |
execute_before_dh_installdeb: |
| 22 |
sed -e"s/#MULTIARCH#/$(DEB_HOST_MULTIARCH)/g" \ |
| 23 |
debian/lomiri-app-launch.postinst.in \ |
| 24 |
> debian/lomiri-app-launch.postinst |
| 25 |
|
| 26 |
get-orig-source: |
| 27 |
uscan --noconf --force-download --rename --download-current-version --destdir=.. |