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