xenocara/lib/fontconfig/fontconfig-zip.in
matthieu 6cd6a1d6f1 Update to fontconfig 2.6.0. ok naddy@
this uses a patched version of libtool to fix linking on vax.
2009-04-05 16:43:35 +00:00

34 lines
678 B
Bash

#!/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 $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/man5/fonts-conf.5
share/doc/fontconfig
EOF
zip $DEVZIP man/man3/Fc*.3