summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2003-03-22 21:28:13 +0000
committerTor Lillqvist <tml@iki.fi>2003-03-22 21:28:13 +0000
commitc8582ff72ade8522d545d117641e4afac61382a0 (patch)
tree507609b3e31328ebff2f9867e3277c304ca69108
parentdaeed6e048a413a94754fd79f62307ca9be80a43 (diff)
downloadfontconfig-c8582ff72ade8522d545d117641e4afac61382a0.tar.gz
Changes for Windows:
Add a fontconfig-zip(.in) script, used to build a binary distribution.
-rwxr-xr-xfontconfig-zip.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/fontconfig-zip.in b/fontconfig-zip.in
new file mode 100755
index 0000000..d778c4b
--- /dev/null
+++ b/fontconfig-zip.in
@@ -0,0 +1,30 @@
+#!/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
+lib/libfontconfig-@LT_CURRENT_MINUS_AGE@.dll
+etc/fonts/fonts.conf
+EOF
+
+rm -f $DEVZIP
+zip -r $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
+man/man1/fc-cache.1
+man/man1/fc-list.1
+man/man3/fontconfig.3
+EOF