3
SOURCE_DIR=../../iconsets
6
ROSTER_DEFAULT='crystal-roster'
8
crystal-aim crystal-icq crystal-msn crystal-service crystal-yahoo
9
crystal-gadu crystal-sms crystal-roster
12
SYSTEM_DEFAULT='crystal-system'
15
################################################################################
17
if test ! -d $SOURCE_DIR; then
18
echo "Cannot find source dir $SOURCE_DIR"
22
if test ! -d $TARGET_DIR; then
23
echo "Cannot find target dir $TARGET_DIR"
27
################################################################################
30
echo '*** Updating Roster iconsets ***'
31
#cp -R $SOURCE_DIR/roster/$ROSTER_DEFAULT/* $TARGET_DIR/roster/default
32
rm -f $TARGET_DIR/roster/default/Makefile
33
for i in $ROSTER_EXTRAS; do
34
make -C $SOURCE_DIR/roster $i.jisp
35
cp $SOURCE_DIR/roster/$i.jisp $TARGET_DIR/roster
38
################################################################################
41
echo '*** Updating System iconsets ***'
42
#cp -R $SOURCE_DIR/system/$SYSTEM_DEFAULT/* $TARGET_DIR/system/default
43
rm -f $TARGET_DIR/system/default/Makefile
44
for i in $SYSTEM_EXTRAS; do
45
make -C $SOURCE_DIR/system $i.jisp
46
cp $SOURCE_DIR/system/$i.jisp $TARGET_DIR/system