#!/usr/bin/make -f

export DH_ALWAYS_EXCLUDE=.git

CONFIG=--prefix=/usr --libdir=/usr/lib

override_dh_auto_clean:
	dh_auto_clean
	rm -f sources/glue/generated.c stamp-h
	rm -rf doc/en/* sources/generated/*

override_dh_auto_configure:
	dh_auto_configure --parallel -- $(CONFIG)

override_dh_auto_install:
	dh_auto_install --destdir=$(CURDIR)/debian/tmp

override_dh_makeshlibs:
	dh_makeshlibs -n -plibsoup2.4-cil
	dh_makeshlibs --remaining-packages

%:
	dh $@ --parallel --with autoreconf --with cli
