summaryrefslogtreecommitdiff
path: root/gtk-zip.sh.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2007-01-17 13:12:27 +0000
committerTor Lillqvist <tml@src.gnome.org>2007-01-17 13:12:27 +0000
commitb842e76d1288f04dfecb5989f8d575c0106ae0f3 (patch)
treeba5eb5b19d3e8e64670d1140c8b81d2e26487f3f /gtk-zip.sh.in
parentf7d932d49999447a3a5236aa885301fbc5bbcb28 (diff)
downloadgtk+-b842e76d1288f04dfecb5989f8d575c0106ae0f3.tar.gz
Include also the COPYING file.
2007-01-17 Tor Lillqvist <tml@novell.com> * gtk-zip.sh.in: Include also the COPYING file. svn path=/trunk/; revision=17174
Diffstat (limited to 'gtk-zip.sh.in')
-rwxr-xr-xgtk-zip.sh.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk-zip.sh.in b/gtk-zip.sh.in
index 7c90c70952..c84575d83c 100755
--- a/gtk-zip.sh.in
+++ b/gtk-zip.sh.in
@@ -5,8 +5,14 @@
ZIP=/tmp/gtk+-@GTK_VERSION@.zip
DEVZIP=/tmp/gtk+-dev-@GTK_VERSION@.zip
cd @prefix@
-rm $ZIP
+mkdir -p share/doc/gtk+-@GTK_VERSION@
+cp -p @abs_srcdir@/COPYING share/doc/gtk+-@GTK_VERSION@
+
+mkdir -p share/doc/gtk+-dev-@GTK_VERSION@
+cp -p @abs_srcdir@/COPYING share/doc/gtk+-dev-@GTK_VERSION@
+
+rm $ZIP
zip $ZIP -@ <<EOF
COPYING.LIB-2
etc/gtk-2.0/gdk-pixbuf.loaders
@@ -29,6 +35,8 @@ zip $ZIP share/themes/MS-Windows/gtk-2.0/gtkrc
zip $ZIP lib/locale/*/LC_MESSAGES/gtk20.mo
zip $ZIP lib/locale/*/LC_MESSAGES/gtk20-properties.mo
+zip $ZIP share/doc/gtk+-@GTK_VERSION@
+
rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/gtk-2.0
@@ -54,3 +62,4 @@ share/gtk-doc/html/gdk
share/gtk-doc/html/gtk
EOF
+zip $DEVZIP share/doc/gtk+-dev-@GTK_VERSION@