dirent-zip 249 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh

# Build developer package for the dirent library.

ZIP=/tmp/dirent.zip

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

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

rm -rf dist