[perf] Make cairo-perf-diff build cairo-perf-diff-files

This commit is contained in:
Behdad Esfahbod 2007-08-28 13:45:02 -04:00
parent 766346aa5c
commit 7ccae2de6d

View file

@ -183,14 +183,20 @@ run_cairo_perf_if_not_cached() {
cd $owd
}
git_setup
# Build cairo-perf-diff-files if not available
if [ ! -e $CAIRO_DIR/perf/cairo-perf-diff-files ]; then
echo "Building cairo-perf-diff-files"
make -C $CAIRO_DIR/perf/ cairo-perf-diff-files
fi
if [ ! -e $old ]; then
git_setup
run_cairo_perf_if_not_cached $old old
old=$(rev2perf $old)
fi
if [ ! -e $new ]; then
git_setup
run_cairo_perf_if_not_cached $new new
new=$(rev2perf $new)
fi