Update NEWS before release
[nautilus-actions.git] / tools / time.sh
blobc88d993ac0e399ca8757e5e784e9cd47c054d6e2
1 #!/bin/sh
3 # this small script is used both to follow the increase of the product
4 # and to bench our workstations
5 # very simple indeed !
7 # should be run from top_srcdir
9 if [ ! -r ./autogen.sh ]; then
10 echo "This script should be ran from top_srcdir." 1>&2
11 exit 1
14 function do_build
16 ./autogen.sh \
17 --prefix=$(pwd)/install \
18 --with-nautilus-extdir=$(pwd)/install/lib/nautilus \
19 --disable-schemas-install &&
20 make clean &&
21 make &&
22 make install
25 function loop_build
27 i=0
28 while [ ${i} -lt ${count} ]; do
29 do_build
30 let i+=1
31 done
34 ###
35 ### MAIN
36 ###
38 count=1
39 time loop_build