ia64/xen-unstable

view docs/check_pkgs @ 3017:d0006e7baa9a

bitkeeper revision 1.1159.170.41 (419b5697bEIXHXiSbTxwpjfvjHraWw)

Reassert 2.1-devel after push to 2.0 tree.
author kaf24@freefall.cl.cam.ac.uk
date Wed Nov 17 13:48:07 2004 +0000 (2004-11-17)
parents eb0280fe0abf
children 0a4b76b6b5a0 9340287b7f30 0dc3b8b8c298
line source
2 silent_which ()
3 {
4 if ! `which $1 1>/dev/null 2>/dev/null`; then
5 echo "*************************************************"
6 echo "*************************************************"
7 echo "* WARNING: Package '$1' is required"
8 echo "* to build Xen documentation"
9 echo "*************************************************"
10 echo "*************************************************"
11 fi
12 which $1 1>/dev/null 2>/dev/null
13 }
15 silent_which latex || exit 1
16 silent_which latex2html || exit 1
17 silent_which dvips || exit 1
18 silent_which ps2pdf || exit 1
19 silent_which fig2dev || exit 1
20 silent_which tgif || exit 1
22 exit 0