summaryrefslogtreecommitdiff
path: root/pango-zip.sh.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-10-28 22:54:14 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-10-28 22:54:14 +0000
commit53570e37a04c11518dc99c1b6357cff8182c1980 (patch)
tree6f8a9b437da29b7f2c951e812fba5fc9b4707b51 /pango-zip.sh.in
parentf5527477d469cf50063bad41de22138806748520 (diff)
downloadpango-53570e37a04c11518dc99c1b6357cff8182c1980.tar.gz
New file, used to build distribution package for Windows.
2001-10-29 Tor Lillqvist <tml@iki.fi> * pango-zip.sh.in: New file, used to build distribution package for Windows. * Makefile.am (EXTRA_DIST): Add pango-zip.sh. * configure.in: Check for lib.exe, set MS_LIB_AVAILABLE. Generate pango-zip.sh. * README.win32: Mention the ways to build Pango on Windows. * modules/Makefile.am * examples/Makefile.am: Se SOSUFFIX to so on Unix, dll on Windows. * pango/Makefile.am: Add rules to create MSVC import library if MS_LIB_AVAILABLE. Add rules to install and uninstall mingw and MSVC import libraries. * tests/Makefile.am: Link with libpangox.la only on Unix.
Diffstat (limited to 'pango-zip.sh.in')
-rwxr-xr-xpango-zip.sh.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/pango-zip.sh.in b/pango-zip.sh.in
new file mode 100755
index 00000000..e3d69f3a
--- /dev/null
+++ b/pango-zip.sh.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# Build zipfile for Pango on Win32: both runtime and developer stuff
+
+# These two directory paths are obviously system-dependent. This is what tml
+# happens to use.
+ZIP=/g/tmp/pango-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@.zip
+cd /target
+
+rm $ZIP
+zip -r $ZIP -@ <<EOF
+etc/pango
+include/pango-1.0
+lib/libpango-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
+lib/libpango.dll.a
+lib/pango.lib
+lib/libpangoft2-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
+lib/libpangoft2.dll.a
+lib/pangoft2.lib
+lib/libpangowin32-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
+lib/libpangowin32.dll.a
+lib/pangowin32.lib
+lib/pkgconfig/pango.pc
+lib/pkgconfig/pangowin32.pc
+lib/pkgconfig/pangoft2.pc
+EOF