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

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:

override_dh_auto_test:
	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 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with gir -- -B_build
dh $@ --with gir
override_dh_auto_configure:
dh_auto_configure -- -Dgtk_doc=true
override_dh_auto_build:
dh_auto_build
LC_ALL=C.UTF-8 ninja -C _build meson-libhandy-doc
override_dh_auto_test:
xvfb-run dh_auto_test
override_dh_makeshlibs:
dh_makeshlibs -VUpstream-Version
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
LC_ALL=C.UTF-8 xvfb-run ninja -C _build test
endif
Markdown is supported
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