#!/usr/bin/make -f

# Yes, really ugly but until upstream imagination 4.0 is released

PLUGINS_CFLAGS += $(CFLAGS) -DPLUGINS_INSTALLED=1 $(shell pkgconf --cflags cairo glib-2.0)
PACKAGE_CFLAGS = $(CFLAGS) -DPLUGINS_INSTALLED=1 $(shell pkgconf --cflags gtk+-3.0)

export PLUGINS_CFLAGS
export PACKAGE_CFLAGS

%:
	dh $@ -X.la

override_dh_auto_configure:
	dh_auto_configure

#	exit 1

override_dh_clean:
	dh_clean doc/*/html/index.html po/Makevars
