#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_configure:
	dh_auto_configure -- LIBS='-lrsvg-2'

override_dh_auto_install:
	dh_auto_install
	find $(TMP) -type f -name examples.pl -delete

override_dh_installexamples:
	dh_installexamples -Xsvg.gz examples/*

%:
	dh $@
