#!/bin/sh
set -e

dh clean
dh_update_autotools_config
dh_autoreconf
dh_auto_configure 2>/dev/null
dpkg-source --before-build `pwd`
mkdir -p bin/
cp `command -v ugrep` bin/ugrep
make test
