#! /bin/sh

# $Progeny$

# This program is in the public domain.

# Too bad we don't have something like sysexits.h for POSIX sh...
EX_USAGE=64

usage ()
{
    cat <<EOF
usage: $0 DISTDIR DISTFILE [DISTFILE ...]
EOF
}

if [ $# -lt 2 ]; then
    usage
    exit ${EX_USAGE}
fi

distdir=$1
shift

set -e

install -d ${distdir}

for i; do
    cp -R -p ${i} ${distdir}
done

exit 0
