#!/usr/bin/make -f

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk

DEB_CONFIGURE_EXTRA_FLAGS = --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

clean::
	rm -f aclocal.m4 config.guess config.h.in config.sub install-sh
	rm -f ltmain.sh missing mkinstalldirs stamp-h.in depcomp configure
	rm -f INSTALL
	rm -rf autom4te.cache
	find -name Makefile.in | xargs -r rm -f

configure:
	autoreconf -f -i -v

debian/stamp-autotools-files: configure
