Element: <make>

Syntax

<!ELEMENT make           ((param | prefix)*)>
<!ATTLIST make
          base           CDATA #IMPLIED>

This element occurs in : Element : <alfs> | Element: <stage>

See also : Element: <param> | Element: <prefix>

Description

The element make is one of the top-level operation elements. It describes the make command.

The sub-element param allows you to specify parameters of the make command.

The sub-element prefix allows you to specify an environment variable or some other prefix to the make command

The attribute base allows you to specify the directory in which the make will be performed. See Element : <base>.

Example #1

The first example is a make without parameter

<make />

The equivalent bash script is :

echo Executing make
make

Example #2

The second example is a make with a parameter

<make base="/usr/src/mypackage">
        <param>install</param>
</make>

The equivalent bash script is :

echo Executing make
cd /usr/src/mypackage
make install