~ubuntu-branches/ubuntu/utopic/glib2.0/utopic

« back to all changes in this revision

Viewing changes to build/win32/dirent/dirent-zip

Tags: upstream-2.12.12
ImportĀ upstreamĀ versionĀ 2.12.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Build developer package for the dirent library.
 
4
 
 
5
# These paths obviously are system-dependent:
 
6
ZIP=/g/tmp/dirent.zip
 
7
 
 
8
mkdir -p dist/include dist/lib
 
9
cp dirent.h dist/include
 
10
cp dirent.lib dist/lib
 
11
 
 
12
(cd dist
 
13
rm $ZIP
 
14
zip -r $ZIP -@ <<EOF
 
15
include/dirent.h
 
16
lib/dirent.lib
 
17
EOF
 
18
)
 
19
 
 
20
rm -rf dist