aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/fontconfig-zip.in
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig/fontconfig-zip.in')
-rw-r--r--fontconfig/fontconfig-zip.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/fontconfig/fontconfig-zip.in b/fontconfig/fontconfig-zip.in
new file mode 100644
index 000000000..1ca222cfb
--- /dev/null
+++ b/fontconfig/fontconfig-zip.in
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+# Build distribution zipfiles for fontconfig on Win32. (This script
+# obviously needs to be run in Cygwin or similar.) Separate runtime
+# and developer zipfiles.
+
+ZIP=/tmp/fontconfig-@VERSION@.zip
+DEVZIP=/tmp/fontconfig-dev-@VERSION@.zip
+
+cd @prefix@
+rm -f $ZIP
+zip $ZIP -@ <<EOF
+bin/libfontconfig-@LIBT_CURRENT_MINUS_AGE@.dll
+etc/fonts/fonts.conf
+EOF
+
+rm -f $DEVZIP
+zip -r -D $DEVZIP -@ <<EOF
+etc/fonts/fonts.dtd
+include/fontconfig
+lib/libfontconfig.dll.a
+lib/fontconfig.lib
+lib/fontconfig.def
+lib/pkgconfig/fontconfig.pc
+bin/fc-list.exe
+bin/fc-cache.exe
+share/man
+share/doc/fontconfig
+EOF