#!/bin/sh

# Build developer package for the dirent library.

# These paths obviously are system-dependent:
ZIP=/g/tmp/dirent.zip

mkdir -p dist/include dist/lib
cp dirent.h dist/include
cp dirent.lib dist/lib

(cd dist
rm $ZIP
zip -r $ZIP -@ <<EOF
include/dirent.h
lib/dirent.lib
EOF
)

rm -rf dist
