]> www.fi.muni.cz Git - evince.git/blob - cut-n-paste/toolbar-editor/update-toolbareditor-from-libegg.sh
e047aa1dd99ab7056946b404d72bc3ee8ccd064c
[evince.git] / cut-n-paste / toolbar-editor / update-toolbareditor-from-libegg.sh
1 #!/bin/sh
2 # update-toolbareditor-from-libegg.sh
3 #
4 # Get latest toolbar editor from libegg
5 # Developers using the toolbar editor in their projects can use this script to
6 # fetch the latest toolbar editor from libegg. Just run this script
7 #
8
9 SCRIPT_NAME=update-toolbareditor-from-libegg.sh
10 SVN_URI=http://svn.gnome.org/svn/libegg/trunk/libegg/toolbareditor
11 FILES="egg-editable-toolbar.c \
12        egg-toolbars-model.c \
13        egg-toolbar-editor.c \
14        eggtreemultidnd.c \
15        egg-editable-toolbar.h \
16        egg-toolbars-model.h \
17        egg-toolbar-editor.h \
18        eggtreemultidnd.h \
19        eggmarshalers.list" 
20
21
22 if [ -z $1 ]; then
23   echo "Obtaining latest version of "$SCRIPT_NAME
24   svn export $SVN_URI/$SCRIPT_NAME
25   ./$SCRIPT_NAME --update-sources
26 fi
27 if  [ "$1"  = "--update-sources" ]; then
28
29   echo "Obtaining latest version of the sources"
30   for FILE in $FILES 
31   do
32     svn export $SVN_URI/$FILE
33   done
34 fi
35