| 1 |
|
| 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 |
ifeq ($(filter gnome-online-accounts,$(shell dh_listpackages)),) |
| 8 |
GTK4 = -Dgoabackend=false |
| 9 |
endif |
| 10 |
|
| 11 |
ifneq (,$(filter $(DEB_HOST_ARCH), x32)) |
| 12 |
KERBEROS += -Dkerberos=false |
| 13 |
endif |
| 14 |
|
| 15 |
%: |
| 16 |
dh $@ |
| 17 |
|
| 18 |
override_dh_auto_configure: |
| 19 |
dh_auto_configure -- \ |
| 20 |
-Ddocumentation=$(if $(filter %-doc,$(shell dh_listpackages)),true,false) \ |
| 21 |
$(GTK4) \ |
| 22 |
$(KERBEROS) |
| 23 |
|
| 24 |
|
| 25 |
override_dh_gencontrol: |
| 26 |
ifeq ($(shell dpkg-vendor --query vendor),Ubuntu) |
| 27 |
dh_gencontrol |
| 28 |
else |
| 29 |
dh_gencontrol -- \ |
| 30 |
-Vews:Recommends='evolution-ews-core' |
| 31 |
endif |
| 32 |
|
| 33 |
|
| 34 |
override_dh_gnome: |