#!/usr/bin/make -f

%:
	dh $@ --parallel

override_dh_auto_configure:
	@echo "generating binary translation files translations/*.qm"
	lrelease stopmotion.pro
	mkdir --parent build
	mv translations/*.qm build/
	dh_auto_configure

# Testing fails on autobuilders because it puts stuff in
# $HOME/something, re-enable dh_auto_test when fixed upstream.
override_dh_auto_test:

# prevent attempt when parallel to chmod installed *.qm before they're installed
override_dh_auto_install:
	dh_auto_install --max-parallel=1
