#!/usr/bin/make -f
# -*- makefile-gmake -*-

%:
	dh $@ --with autoreconf

override_dh_auto_clean:
	dh_auto_clean
	rm -f config.sub config.guess
	rm -f INSTALL Makefile.in aclocal.m4 configure depcomp \
	      doc/Makefile.in examples/Makefile.in install-sh \
	      libpcre++/Makefile.in libpcre++/config.h.in \
	      ltmain.sh missing mkinstalldirs test/Makefile.in

override_dh_auto_configure:
	ln -sf /usr/share/misc/config.sub .
	ln -sf /usr/share/misc/config.guess .
	dh_auto_configure
