Element: <make>

Syntax


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

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

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

Description

The element make is one of the many main operation elements. It describes a 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.

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