Commit b10b206f authored by Jeremy Bicha's avatar Jeremy Bicha Committed by Guido Gunther
Browse files

debian: Simplify debian/rules

debhelper has native meson support

LC_ALL=C.UTF-8 is used for meson builds since debhelper 11.1.3

It looks like xvfb-run isn't needed yet, but when it is, you can use:

	xvfb-run -a dh_auto_test

"xvfb-run -a" seems to succeed for me in a few cases where xvfb-run
doesn't, particularly on less popular architectures
parent 3850cb74
...@@ -3,19 +3,14 @@ ...@@ -3,19 +3,14 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%: %:
dh $@ --with gir -- -B_build dh $@ --with gir
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- -Dgtk_doc=true dh_auto_configure -- -Dgtk_doc=true
override_dh_auto_build: override_dh_auto_test:
dh_auto_build xvfb-run dh_auto_test
LC_ALL=C.UTF-8 ninja -C _build meson-libhandy-doc
override_dh_makeshlibs: override_dh_makeshlibs:
dh_makeshlibs -VUpstream-Version dh_makeshlibs -VUpstream-Version
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
LC_ALL=C.UTF-8 xvfb-run ninja -C _build test
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment