#!/usr/bin/make -f

#export DH_VERBOSE=1

# GCC 14+ treats -Wincompatible-pointer-types as an error by default.
# The Vala-generated C code passes gchar** where glib >= 2.80 declares
# g_settings_set_strv(const gchar *const *value), so demote the diagnostic
# back to a warning (official GCC 14 recommendation).
export CFLAGS := $(CFLAGS) -Wno-error=incompatible-pointer-types

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

override_dh_auto_install:
	dh_auto_install
	rm debian/indicator-multiload/usr/share/doc/indicator-multiload/COPYING

