source: trunk/packages/xen-common/xen-common/docs/check_pkgs @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 675 bytes
RevLine 
[34]1
2silent_which ()
3{
4        which $1 1>/dev/null 2>/dev/null || {
5                echo "*************************************************"
6                echo "*************************************************"
7                echo "* WARNING: Package '$1' is required"
8                echo "*          to build Xen documentation"
9                echo "*************************************************"
10                echo "*************************************************"
11        }
12        which $1 1>/dev/null 2>/dev/null
13}
14
15silent_which latex      || exit 1
16silent_which dvips      || exit 1
17silent_which ps2pdf     || exit 1
18silent_which fig2dev    || exit 1
19
20exit 0
Note: See TracBrowser for help on using the repository browser.