| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs |
| 5 |
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ |
| 9 |
|
| 10 |
override_dh_auto_configure: |
| 11 |
dh_auto_configure -- \ |
| 12 |
-Denable_vala=true \ |
| 13 |
-Dgtk_doc=true |
| 14 |
|
| 15 |
# Ubuntu's dh_translations can't handle two .pot files yet |
| 16 |
# https://launchpad.net/bugs/1751820 |
| 17 |
override_dh_translations: |
| 18 |
dh_translations --domain=libgweather-4.0 |
| 19 |
ninja -C obj-$(DEB_HOST_GNU_TYPE) libgweather-4.0-locations-pot |
| 20 |
|
| 21 |
execute_after_dh_auto_clean: |
| 22 |
rm -f po-locations/libgweather-4.0-locations.pot |
| 23 |
|
| 24 |
override_dh_auto_test: |
| 25 |
dh_auto_test -- --timeout-multiplier=3 |