#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

CPPFLAGS += -DMATELOCALEDIR=\"/usr/share/locale\"

override_dh_auto_configure:
	dh_auto_configure -- --with-gtk-app --without-gnome-app

override_dh_install:
	mv debian/tmp/usr/bin/verbiste-gtk debian/tmp/usr/bin/verbiste
	dh_install

override_dh_installdocs:
	dh_installdocs -A README LISEZMOI HACKING

override_dh_auto_test:
	mkdir -p debian/tmp/locale/
	localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
	LOCPATH=$(CURDIR)/debian/tmp/locale/ \
	LANG=en_US.UTF-8 \
	LC_ALL=en_US.UTF-8 \
	dh_auto_test

%:
	dh $@ --with elpa
