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 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Ensure at build time that the library has no dependencies on undefined
# symbols, and speed up loading.
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
BUILD_DOC:=-Ddocs=false
# only build if the profile nodoc is NOT set
ifeq ($(filter nodoc, $(DEB_BUILD_OPTIONS)),)
# and valadoc is installed
ifneq ($(shell which valadoc),)
BUILD_DOC:=-Ddocs=true
endif
endif
%:
dh $@ --with gir,gnome
override_dh_auto_configure:
dh_auto_configure -- -Deds_backend=true \
-Dimport_tool=true -Dinspect_tool=true -Dzeitgeist=false \
-Dofono_backend=false -Dbluez_backend=false $(BUILD_DOC)
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
override_dh_makeshlibs:
dh_makeshlibs -plibfolks25 -X/backends/
dh_makeshlibs -plibfolks-telepathy25 -X/backends/
dh_makeshlibs -plibfolks-eds25 -X/backends/
dh_makeshlibs -plibfolks-dummy25 -X/backends/
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_test:
|