-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ctk-zip.sh.in
executable file
·64 lines (51 loc) · 2.03 KB
/
ctk-zip.sh.in
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/sh
# Build zipfiles for CTK on Win32
ZIP=/tmp/ctk+-@[email protected]
DEVZIP=/tmp/ctk+-dev-@[email protected]
SHORTAPIVERSION=`echo @CTK_API_VERSION@ | tr -d '.'`
APIVERSIONMAJOR=`echo @CTK_API_VERSION@ | sed -e 's/\..*//'`
cd @prefix@
mkdir -p share/doc/ctk+-@CTK_VERSION@
cp -p @abs_srcdir@/COPYING share/doc/ctk+-@CTK_VERSION@
mkdir -p share/doc/ctk+-dev-@CTK_VERSION@
cp -p @abs_srcdir@/COPYING share/doc/ctk+-dev-@CTK_VERSION@
rm $ZIP
zip $ZIP -@ <<EOF
etc/ctk-@CTK_API_VERSION@/ctkrc
etc/ctk-@CTK_API_VERSION@/im-multipress.conf
bin/libcdk-win32-@CTK_API_VERSION@-@[email protected]
bin/libctk-win32-@CTK_API_VERSION@-@[email protected]
bin/libcailutil-@CTK_API_VERSION@-@[email protected]
bin/ctk-query-immodules-@[email protected]
lib/ctk-@CTK_API_VERSION@/3.0.0/loaders.cache
lib/ctk-@CTK_API_VERSION@/3.0.0/immodules.cache
EOF
zip $ZIP lib/ctk-@CTK_API_VERSION@/modules/libcail.dll lib/ctk-@CTK_API_VERSION@/@CTK_BINARY_VERSION@/loaders/*.dll lib/ctk-@CTK_API_VERSION@/@CTK_BINARY_VERSION@/immodules/*.dll lib/ctk-@CTK_API_VERSION@/@CTK_BINARY_VERSION@/engines/*.dll
zip $ZIP share/themes/Raleigh/ctk-@CTK_API_VERSION@/ctkrc
zip $ZIP share/themes/Default/ctk-@CTK_API_VERSION@-key/ctkrc
zip $ZIP share/themes/Emacs/ctk-@CTK_API_VERSION@-key/ctkrc
zip $ZIP share/themes/MS-Windows/ctk-@CTK_API_VERSION@/ctkrc
zip $ZIP share/locale/*/LC_MESSAGES/ctk${SHORTAPIVERSION}.mo
zip $ZIP share/locale/*/LC_MESSAGES/ctk${SHORTAPIVERSION}-properties.mo
zip -r -D $ZIP share/doc/ctk+-@CTK_VERSION@
rm $DEVZIP
zip -r -D $DEVZIP -@ <<EOF
include/ctk-@CTK_API_VERSION@
include/cail-1.0
bin/ctk-builder-convert
bin/ctk${APIVERSIONMAJOR}-demo.exe
bin/ctk-update-icon-cache.exe
share/man
lib/libcdk-win32-@[email protected]
lib/cdk-win32-@[email protected]
lib/libctk-win32-@[email protected]
lib/ctk-win32-@[email protected]
lib/libcailutil.dll.a
lib/cailutil.lib
lib/ctk-@CTK_API_VERSION@/include
lib/pkgconfig
share/aclocal
share/ctk-@CTK_API_VERSION@
share/gtk-doc
EOF
zip -r $DEVZIP share/doc/ctk+-dev-@CTK_VERSION@