summaryrefslogtreecommitdiff
path: root/pango-zip.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'pango-zip.sh.in')
-rwxr-xr-xpango-zip.sh.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/pango-zip.sh.in b/pango-zip.sh.in
index 6113a5f5..e35f4472 100755
--- a/pango-zip.sh.in
+++ b/pango-zip.sh.in
@@ -2,8 +2,8 @@
# Build zipfiles for Pango on Win32: separate runtime and developer packages
-ZIP=/tmp/pango-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@.zip
-DEVZIP=/tmp/pango-dev-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@.zip
+ZIP=/tmp/pango-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@-`date +%Y%m%d`.zip
+DEVZIP=/tmp/pango-dev-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@-`date +%Y%m%d`.zip
cd @prefix@
rm $ZIP
@@ -13,9 +13,10 @@ etc/pango
lib/libpango-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
lib/libpangoft2-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
lib/libpangowin32-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
-lib/pango/modules/*.dll
EOF
+zip $ZIP lib/pango/modules/*.dll
+
rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/pango-1.0