summaryrefslogtreecommitdiff
path: root/pango-zip.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'pango-zip.sh.in')
-rwxr-xr-xpango-zip.sh.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/pango-zip.sh.in b/pango-zip.sh.in
index fe18ef8c..504d6a38 100755
--- a/pango-zip.sh.in
+++ b/pango-zip.sh.in
@@ -6,6 +6,12 @@ ZIP=/tmp/pango-@PANGO_VERSION@.zip
DEVZIP=/tmp/pango-dev-@PANGO_VERSION@.zip
cd @prefix@
+mkdir -p share/doc/pango-@PANGO_VERSION@
+cp -p @abs_srcdir@/COPYING share/doc/pango-@PANGO_VERSION@
+
+mkdir -p share/doc/pango-dev-@PANGO_VERSION@
+cp -p @abs_srcdir@/COPYING share/doc/pango-dev-@PANGO_VERSION@
+
rm $ZIP
zip $ZIP -@ <<EOF
bin/pango-querymodules.exe
@@ -19,6 +25,8 @@ EOF
zip $ZIP lib/pango/@PANGO_MODULE_VERSION@/modules/*.dll
+zip -r $ZIP share/doc/pango-@PANGO_VERSION@
+
rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/pango-1.0
@@ -40,3 +48,5 @@ lib/pkgconfig/pangowin32.pc
lib/pkgconfig/pangocairo.pc
share/gtk-doc/html/pango
EOF
+
+zip -r $DEVZIP share/doc/pango-dev-@PANGO_VERSION@