#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	for po in locale/*/LC_MESSAGES/*.po; do \
		msgfmt -cv -o $${po%.po}.mo $$po; \
	done
	glib-compile-schemas --targetdir=src/schemas src/schemas
	dh_auto_build

override_dh_clean:
	rm -f locale/*/LC_MESSAGES/*.mo
	dh_clean
