Element: <stage>

Syntax

        <!ELEMENT stage          (stageinfo?, (alfs | configure | copy | download | 
                             execute | link | make | mkdir | move | ownership |
                             package | patch | permissions | remove | 
                             search_replace | stage | textdump | unpack)*)>
<!ATTLIST stage
          name           CDATA #IMPLIED>

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

See also : Element : <alfs> | Element : <configure> | Element : <copy> | Element: <download> | Element: <execute> | Element: <link> | Element: <make>> | Element: <mkdir> | Element: <move> | Element: <ownership> | Element: <package> | Element: <patch> | Element: <permissions> | Element: <remove> | Element: <search_replace> | Element: <stageinfo> | Element: <textdump> | Element: <unpack>

Description

The stage element is one of the top-level operation elements. It allows you to regroup commands, give a name to this group (through the name attribute) and optionally modify the execution context through the element stageinfo.

Examples

<stage>
        <stageinfo>
                <base>/usr/src/gzip.1.2.4a</base>
        </stageinfo>

        <configure />

        <make />

        <make>
                <param>install</param>
        </make>
</stage>

The equivalent bash script is :

echo Executing configure
cd /usr/src/gzip.1.2.4a
./configure

echo Executing make
cd /usr/src/gzip.1.2.4a
make

echo Executing make
cd /usr/src/gzip.1.2.4a
make install

echo Exiting stage