Gconf-less
[gtkhtml/pkgcrosswire.git] / gtkhtml-zip.in
blob3dfac79fcdd60322037136ccb3bf136beaf2a8b1
1 #!/bin/sh
3 # Build zipfile distribution of gtkhtml for Win32. Separate runtime
4 # and developer zipfiles. Run after make install.
6 ZIP=/tmp/gtkhtml-@VERSION@.zip
7 DEVZIP=/tmp/gtkhtml-dev-@VERSION@.zip
9 cd @prefix@
10 rm $ZIP
12 current_minus_age=`expr @GTKHTML_CURRENT@ - @GTKHTML_AGE@`
14 zip -r $ZIP -@ <<EOF
15 bin/libgtkhtml-@GTKHTML_API_VERSION@-$current_minus_age.dll
16 bin/libgtkhtml-editor-0.dll
17 share/gtkhtml-@GTKHTML_API_VERSION@
18 EOF
20 zip $ZIP share/locale/*/LC_MESSAGES/gtkhtml-@GTKHTML_API_VERSION@.mo
22 rm $DEVZIP
23 zip -r $DEVZIP -@ <<EOF
24 lib/libgtkhtml-@GTKHTML_API_VERSION@.dll.a
25 lib/libgtkhtml-editor.dll.a
26 lib/pkgconfig
27 include/libgtkhtml-@GTKHTML_API_VERSION@
28 EOF