mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
405 B
24 lines
405 B
#!/bin/sh
|
|
|
|
# Build runtime and developer zipfiles for libgsf on Win32.
|
|
|
|
ZIP=/tmp/libgsf-@VERSION@.zip
|
|
DEVZIP=/tmp/libgsf-dev-@VERSION@.zip
|
|
|
|
cd @prefix@
|
|
rm $ZIP
|
|
|
|
DLLDIR=lib
|
|
[ -f bin/libgsf-1-@LIBGSF_MAJOR_VERSION@.dll ] && DLLDIR=bin
|
|
|
|
zip $ZIP -@ <<EOF
|
|
$DLLDIR/libgsf-1-@LIBGSF_MAJOR_VERSION@.dll
|
|
EOF
|
|
|
|
rm $DEVZIP
|
|
zip -r $DEVZIP -@ <<EOF
|
|
include/libgsf-1
|
|
lib/liblibgsf-1.dll.a
|
|
lib/pkgconfig/libgsf-1.pc
|
|
EOF
|