Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afsinstall / lib / InstallGuides / hp700_ux90 / build
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3 #
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 # An InstallGuide for compiling a new kernel
9 # For HP 9000/7xx systems running HPUX 9.x
10 #
11
12 sub build {
13 &Print("Compiling with command \"make -f config.mk\"");
14 &Print("in directory /etc/conf");
15 &Print("New kernel will be /etc/conf/hp-ux");
16 &Print("and should be installed as /hp-ux");
17
18 &ErrorsAreFatal(1);
19 $rc = chdir("/etc/conf");
20 &ErrorMsg("Could not change to dir", "/etc/conf") if (!$rc);
21
22 $rc = system("make -f config.mk");
23 $rc = $rc >> 8;
24 &Print("Returned code $rc");
25 }