#!/usr/bin/make -f

# Print all logging info to stdout so it
# shows up in build logs.
export MESON_PRINT_TEST_OUTPUT=1

export QT_SELECT=qt5

# We're not in 1963 anymore, Toto!
export LC_ALL=C.UTF-8

export PYBUILD_NAME=meson

%:
	dh $@ --with python3 --buildsystem=pybuild

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	#./run_tests.py
endif

override_dh_auto_clean:
	dh_auto_clean
	rm -f dist/meson-0.54.2-py3.8.egg
	rm -rf .pytest_cache
	rm -f dub_platform_probe_* meson-test-run.txt meson-test-run.xml
