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 make element is one of the top-level operation elements. It describes the make command.

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

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

The base attribute allows you to specify the directory in which the operation will be performed. For a better description, 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