1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
# needed for Ubuntu
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
-Dunicode_support=icu \
-Dstemmer=enabled \
-Dbash_completion=true \
-Dbash_completion_dir=/usr/share/bash-completion/completions \
-Ddocs=$(if $(filter %-doc,$(shell dh_listpackages)),true,false) \
-Dsystemd_user_services=true \
-Dsystemd_user_services_dir=/usr/lib/systemd/user \
-Dtests=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),false,true)
override_dh_auto_test:
dbus-run-session -- dh_auto_test -- --timeout-multiplier 7
|