blob: 5b6e2eea1f17c0613aca3a8f93e5751e0e3b61c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
# Build distribution zipfiles for libcroco on Win32: Runtime and
# developer.
ZIP=/tmp/libcroco-@VERSION@.zip
DEVZIP=/tmp/libcroco-dev-@VERSION@.zip
# The DLL name generated by libtool with the passed --version-info
DLLNAME=libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@-`expr @LIBCROCO_CURRENT@ - @LIBCROCO_AGE@`.dll
cd @prefix@
rm $ZIP
zip $ZIP -@ <<EOF
bin/$DLLNAME
EOF
rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
bin/csslint-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@.exe
include/libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@
lib/libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@.dll.a
lib/pkgconfig/libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@.pc
EOF
|