Element: <make>

Syntax


<!ELEMENT make           (param+)>
<!ATTLIST make
          base           CDATA #IMPLIED>

This element occurs in the elements alfs, else, stage. and then

See also : param,

Description

The element make describes a make command.

The sub-elements param allow to specify parameters of the make command.

The attribute base allows to specify the directory in which the make will be performed.

Examples

The first example is a make without parameter


<make />

The equivalent bash script is :


echo Executing make
make

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