ia64/xen-unstable

annotate docs/check_pkgs @ 11058:9d5d7d8b7125

[POWERPC] finddevice must return a phandle of -1
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Tue Aug 01 16:42:48 2006 -0400 (2006-08-01)
parents cf0c13832905
children 59d511c4a8d8
rev   line source
kaf24@2826 1
kaf24@2826 2 silent_which ()
kaf24@2826 3 {
kaf24@7588 4 which $1 1>/dev/null 2>/dev/null || {
kaf24@2826 5 echo "*************************************************"
kaf24@2826 6 echo "*************************************************"
kaf24@2826 7 echo "* WARNING: Package '$1' is required"
kaf24@2826 8 echo "* to build Xen documentation"
kaf24@2826 9 echo "*************************************************"
kaf24@2826 10 echo "*************************************************"
kaf24@7588 11 }
kaf24@2826 12 which $1 1>/dev/null 2>/dev/null
kaf24@2826 13 }
kaf24@2826 14
kaf24@2826 15 silent_which latex || exit 1
kaf24@2826 16 silent_which dvips || exit 1
kaf24@2826 17 silent_which ps2pdf || exit 1
kaf24@2826 18 silent_which fig2dev || exit 1
kaf24@2826 19
kaf24@2826 20 exit 0