ia64/xen-unstable

view docs/check_pkgs @ 19027:59d511c4a8d8

Do not print `***' when compiling unless we fall over

This has finally bugged me enough to do something about it:

make prints `***' when it stops due to an error. With make -j, and/or
with automated build systems, this error marker can be in the middle
of a large logfile. It is useful to be able to search for it.

Therefore change occurrences of `*' to `=' for information and warning
messages. `***' is reserved for cases where the build stops.

A corresponding change is being applied to qemu-xen-unstable.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jan 12 10:17:12 2009 +0000 (2009-01-12)
parents cf0c13832905
children
line source
2 silent_which ()
3 {
4 which $1 1>/dev/null 2>/dev/null || {
5 echo "================================================="
6 echo "================================================="
7 echo "= WARNING: Package '$1' is required"
8 echo "= to build Xen documentation"
9 echo "================================================="
10 echo "================================================="
11 }
12 which $1 1>/dev/null 2>/dev/null
13 }
15 silent_which latex || exit 1
16 silent_which dvips || exit 1
17 silent_which ps2pdf || exit 1
18 silent_which fig2dev || exit 1
20 exit 0