Files
xen/docs/check_pkgs
T
Keir Fraser bef2c17dbc 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>
2009-01-12 10:17:12 +00:00

21 lines
675 B
Plaintext

silent_which ()
{
which $1 1>/dev/null 2>/dev/null || {
echo "================================================="
echo "================================================="
echo "= WARNING: Package '$1' is required"
echo "= to build Xen documentation"
echo "================================================="
echo "================================================="
}
which $1 1>/dev/null 2>/dev/null
}
silent_which latex || exit 1
silent_which dvips || exit 1
silent_which ps2pdf || exit 1
silent_which fig2dev || exit 1
exit 0