]> www.fi.muni.cz Git - evince.git/blob - cut-n-paste/toolbar-editor/update-toolbareditor-from-libegg.sh
Removes unused code.
[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        egg-editable-toolbar.h \
15        egg-toolbars-model.h \
16        egg-toolbar-editor.h \
17        eggmarshalers.list" 
18
19
20 if [ -z $1 ]; then
21   echo "Obtaining latest version of "$SCRIPT_NAME
22   svn export $SVN_URI/$SCRIPT_NAME
23   ./$SCRIPT_NAME --update-sources
24 fi
25 if  [ "$1"  = "--update-sources" ]; then
26
27   echo "Obtaining latest version of the sources"
28   for FILE in $FILES 
29   do
30     svn export $SVN_URI/$FILE
31   done
32 fi
33