#!/usr/bin/make -f

# To enable all, uncomment following line
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf
#~	[ ! -x "./autogen.sh" ] || ./autogen.sh
## call `intltoolize` to fix the following error:
## ~~~~\
## config.status: executing po/stamp-it commands
## config.status: error: po/Makefile.in.in was not created by intltoolize.
## ~~~~/
	intltoolize --automake --copy --force

override_dh_auto_configure:
	dh_auto_configure -- --with-gtk3 --enable-appindicator
