cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_variable.xml elem_version.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Sun Feb 22 19:19:05 PST 2004


jwrober     04/02/22 20:19:05

  Modified:    docs/syntax_doc/alfs_dtd elem_variable.xml elem_version.xml
  Log:
  finished first pass across all elements
  
  Revision  Changes    Path
  1.6       +28 -32    ALFS/docs/syntax_doc/alfs_dtd/elem_variable.xml
  
  Index: elem_variable.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_variable.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_variable.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_variable.xml	23 Feb 2004 03:19:05 -0000	1.6
  @@ -6,14 +6,14 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT variable       (#PCDATA)>
  +<!ELEMENT variable       (#PCDATA)>
   <!ATTLIST variable
  -          name           CDATA #REQUIRED
  -          mode           CDATA #IMPLIED>
  +             name           CDATA #REQUIRED
  +             mode           CDATA #IMPLIED>
   </synopsis>
   
  -<para>This element occurs in the element
  -<link linkend="elem_environment">environment</link>.
  +<para>This element occurs in the element :  
  +<xref linkend="elem_environment"/>
   </para>
   
   </sect2>
  @@ -21,13 +21,13 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>variable</token> allows to add a variable definition to
  +<para>The element <filename>variable</filename> allows to add a variable definition to
   the environment.</para>
   
  -<para>The name of the variable is given by the attribute <token>name</token>
  +<para>The name of the variable is given by the attribute <filename>name</filename>
   of the element.</para>
   
  -<para>The attribute <token>mode</token> can take the value <literal>"append"</literal>,
  +<para>The attribute <filename>mode</filename> can take the value <literal>"append"</literal>,
   in which case the content of the element is appended to the value of the environment
   variable</para>
   
  @@ -39,30 +39,27 @@
   <sect2>
   <title>Examples</title>
   
  -<programlisting>
  -<stage>
  -    <stageinfo>
  -        <base>/usr/src/gzip.1.2.4a</base>
  -        <environment>
  -            <variable name="GCCFLAGS">-O2</variable>
  -	    <variable name="PATH" mode="append">:/opt/foo</variable>
  -        </environment>
  -    </stageinfo>
  -
  -    <configure />
  -
  -    <make />
  -
  -    <make>
  -        <param>install</param>
  -    </make>
  -</stage>
  -</programlisting>
  +<userinput><screen><stage>
  +	<stageinfo>
  +		<base>/usr/src/gzip.1.2.4a</base>
  +		<environment>
  +			<variable name="GCCFLAGS">-O2</variable>
  +			<variable name="PATH" mode="append">:/opt/foo</variable>
  +		</environment>
  +	</stageinfo>
  +
  +	<configure />
  +
  +	<make />
  +
  +	<make>
  +		<param>install</param>
  +	</make>
  +</stage></screen></userinput>
   
  -<para>The equivalent bash script is :</para>
  +<para>The equivalent bash script is :</para>
   
  -<programlisting>
  -echo Stage
  +<userinput><screen>echo Stage
   
   export GCCFLAGS=-O2
   export PATH=${PATH}:/opt/foo
  @@ -78,8 +75,7 @@
   cd /usr/src/gzip.1.2.4a
   make install
   
  -echo Exiting stage
  -</programlisting>
  +echo Exiting stage</screen></userinput>
   
   </sect2>
   
  
  
  
  1.7       +7 -6      ALFS/docs/syntax_doc/alfs_dtd/elem_version.xml
  
  Index: elem_version.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_version.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- elem_version.xml	7 Feb 2004 04:42:49 -0000	1.6
  +++ elem_version.xml	23 Feb 2004 03:19:05 -0000	1.7
  @@ -6,15 +6,15 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT version        (#PCDATA)>
  -<!ATTLIST variable
  -          condition      (eq | ne | gt | ge | lt | le) #REQUIRED>
  +<!ELEMENT version        (#PCDATA)>
  +<!ATTLIST version
  +          condition      (eq | ne | gt | ge | lt | le) #REQUIRED>
   </synopsis>
   
   <para>This element occurs in the elements :  
   <xref linkend="elem_package"/>  |  
  -<xref linkend="elem_utilizes"/>  |  
  -<xref linkend="elem_requires"/>
  +<xref linkend="elem_requires"/>  |  
  +<xref linkend="elem_utilizes"/>
   </para>
   
   </sect2>
  @@ -57,7 +57,8 @@
   	</requires>
   </packageinfo></screen></userinput>
   
  -<para>This signifies that the package being build requires guile in its
  +<para>This signifies that the package being build requires
  +<filename>guile</filename> in its
   version 1.5 or more recent.</para>
   
   <para>There is no equivalent Bash script example for this element.</para>
  
  
  



More information about the alfs-log mailing list