#!/bin/sh -e

./configure \
    --prefix=/usr

make
make DESTDIR="$1" install

# Remove docs.
rm -rf "$1/usr/share/doc"