mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
21 lines
675 B
Plaintext
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
|