This is needed since we removed the git submodule and turned libcall-ui into a meson subproject instead. Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu> Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/806>
30 lines
598 B
Makefile
Executable File
30 lines
598 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
CONFIGURE_OPTS=--wrap-mode=default
|
|
|
|
ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
|
|
CONFIGURE_OPTS+=-Dgtk_doc=true
|
|
else
|
|
CONFIGURE_OPTS+=-Dgtk_doc=false
|
|
endif
|
|
|
|
%:
|
|
dh $@ -- -B_build
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- $(CONFIGURE_OPTS)
|
|
|
|
override_dh_auto_build:
|
|
dh_auto_build
|
|
ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
|
|
# https://github.com/mesonbuild/meson/pull/2862
|
|
ninja -C _build/ calls-doc
|
|
endif
|
|
|
|
override_dh_auto_test:
|
|
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
|
|
xvfb-run ninja -C _build test
|
|
endif
|