#!/usr/bin/make -f

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

# Add here any variable or target overrides you need.
DEB_CONFIGURE_SCRIPT := ./autogen.sh

clean::
	-find . -type d -iname "build" -exec rm -fr {} \;
	-find . -type d -iname "m4" -exec rm -fr {} \;
	-find . -type f -iname "configure" -exec rm {} \;
	-find . -type f -iname "makefile.in" -exec rm {} \;
	-find . -type f -iname "aclocal.m4" -exec rm {} \;
	-find . -type f -iname "makefile.in" -exec rm {} \;
	-find . -type f -iname "makefile.in.in" -exec rm {} \;
	-find . -type f -iname "config.h.in" -exec rm {} \;
