ia64/xen-unstable

annotate docs/check_pkgs @ 2826:4bf285a87365

bitkeeper revision 1.1159.149.1 (4187c1c8_Vcj2qeTWowskcZY0OAlfQ)

Build cleanups.
author kaf24@freefall.cl.cam.ac.uk
date Tue Nov 02 17:20:08 2004 +0000 (2004-11-02)
parents
children eb0280fe0abf
rev   line source
kaf24@2826 1
kaf24@2826 2 silent_which ()
kaf24@2826 3 {
kaf24@2826 4 if ! `which $1 1>/dev/null 2>/dev/null`; then
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@2826 11 fi
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 latex2html || exit 1
kaf24@2826 17 silent_which dvips || exit 1
kaf24@2826 18 silent_which ps2pdf || exit 1
kaf24@2826 19 silent_which fig2dev || exit 1
kaf24@2826 20 silent_which tgif || exit 1
kaf24@2826 21
kaf24@2826 22 exit 0