summaryrefslogtreecommitdiff
path: root/makeall
blob: 9d2beb19cacb9ad8d1be892ee46a0d438822f5d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

#to test settings-dump properly
export DISPLAY=""

DEFPREFIX="/usr"
MYPREFIX=${PREFIX:-$DEFPREFIX}
if svn up
then
    ITEMS="beryl-core beryl-plugins beryl-settings beryl-manager emerald emerald-themes"
    for item in $ITEMS
    do
        cd $item
        if ./autogen.sh --prefix=$MYPREFIX && make && sudo make install
        then
            cd ../
            echo $item built ok
        else
            cd ../
            echo BUILD FAILED for $item
            exit 1
        fi
    done
else
    echo SVN UP FAILED.
    exit 1
fi