build-all.sh 466 Bytes
Newer Older
Vincent Wei's avatar
Vincent Wei committed
1 2
#!/bin/bash

3 4 5 6 7
if [ ! -f myconfig.sh ]; then
    cp config.sh myconfig.sh
fi

source myconfig.sh
8

Vincent Wei's avatar
Vincent Wei committed
9
cd minigui
10
./autogen.sh; ./configure $GOPTS --with-runmode=$RUNMODE $MGOPTS
11
make clean; make -j$NR_JOBS; sudo make install
Vincent Wei's avatar
Vincent Wei committed
12 13
cd ..

14
for comp in minigui-res mgutils mgplus mgeff mgncs mgncs4touch mg-tests mg-tools mg-samples mg-demos cell-phone-ux-demo; do
Vincent Wei's avatar
Vincent Wei committed
15
    cd $comp
16
    ./autogen.sh; ./configure $GOPTS
17
    make clean; make -j$NR_JOBS; sudo make install
Vincent Wei's avatar
Vincent Wei committed
18 19
    cd ..
done