glib/build/win32/dirent/dirent-zip

20 lines
249 B
Plaintext
Raw Normal View History

#!/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