<!ELEMENT stage (stageinfo?,(configure|copy|download|execute|
if|link|make|mkdir|move|ownership|package|
patch|permissions|remove|search_replace|
stage|textdump|unpack)*)>
<!ATTLIST stage
name CDATA #IMPLIED>
|
This element occurs in the elements alfs, else, stage. and then
See also : configure, copy, download, execute, if, link, make, mkdir, move, ownership, package, patch, permissions, remove, search_replace, stageinfo, textdump, unpack.
The element stage allows 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 |