#!/bin/sh -e

./configure                         \
   --prefix=/usr                    \
   --with-xdmconfigdir=/etc/X11/xdm

make
make DESTDIR="$1" install