#!/usr/bin/make -f

export PTHREAD_CFLAGS=-lpthread

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

override_dh_auto_configure:
	dh_auto_configure -- --program-prefix=ctemplate-

override_dh_auto_test:
	# There are some random failures in the tests.
	-dh_auto_test
