#!/usr/bin/make -f

l10npkgs_firstversion_ok := 4:16.04.3-7~
include /usr/share/pkg-kde-tools/qt-kde-team/2/l10n-packages.mk

# disable the compilation of the Python bytecode at build time,
# as it is built at installation time, and removed by dh_python3 anyway
export PYTHONDONTWRITEBYTECODE=1

%:
	dh $@ --with kf5,python3

override_dh_auto_configure:
	dh_auto_configure -Skf5 -- -DKDE_INSTALL_BINDIR=/usr/games

override_dh_python3:
	dh_python3 /usr/share/kajongg

override_dh_gencontrol: l10npkgs_firstversion_ok
	dh_gencontrol
