cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_description.xml elem_destination.xml

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


jwrober     04/02/22 20:09:22

  Modified:    docs/syntax_doc/alfs_dtd elem_description.xml
                        elem_destination.xml
  Log:
  finished first pass across all elements
  
  Revision  Changes    Path
  1.8       +11 -11    ALFS/docs/syntax_doc/alfs_dtd/elem_description.xml
  
  Index: elem_description.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_description.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- elem_description.xml	6 Nov 2003 05:29:36 -0000	1.7
  +++ elem_description.xml	23 Feb 2004 03:09:22 -0000	1.8
  @@ -6,16 +6,14 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT description     (para | list)*>
  +<!ELEMENT description    (para | list)*>
   </synopsis>
   
  -<para>This element occurs in the 
  -
  +<para>This element occurs in the element :  
   <xref linkend="elem_packageinfo"/>
   </para>
   
   <para>See also :  
  -
   <xref linkend="elem_para"/>  |  
   <xref linkend="elem_list"/>
   </para>
  @@ -25,15 +23,15 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <filename>description</filename> contains the description of a
  -package. Its use is for documentation only.</para>
  +<para>The element <filename>description</filename> contains the description
  +of a package. Its use is for documentation only.</para>
   
   <para>Notice that all the elements <filename>para</filename> and
  -<filename>list</filename> are surrounded by parathensis [ ( ) ]
  -and followed by an asterisk [ * ]. The asterisk signifies that each
  -element can be used optionally inside the <filename>description</filename>
  -declaration in a profile and that, if used, they can be used more than
  -once.</para>
  +<filename>list</filename> are surrounded by parathensis
  +[ ( ) ] and followed by an asterisk [ * ]. The
  +asterisk signifies that each element can be used optionally inside the
  +<filename>description</filename> declaration in a profile and that, if
  +used, they can be used more than once.</para>
   
   </sect2>
   
  @@ -62,6 +60,8 @@
   	....
   
   </package></userinput></screen>
  +
  +<para>There is no equivalent Bash script example for this element.</para>
   
   </sect2>
   
  
  
  
  1.6       +30 -39    ALFS/docs/syntax_doc/alfs_dtd/elem_destination.xml
  
  Index: elem_destination.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_destination.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_destination.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_destination.xml	23 Feb 2004 03:09:22 -0000	1.6
  @@ -6,31 +6,30 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT destination    (#PCDATA)>
  +<!ELEMENT destination    (#PCDATA)>
   </synopsis>
   
  -<para>This element occurs in the elements
  -<link linkend="elem_copy">copy</link>,
  -<link linkend="elem_download">download</link>,
  -<link linkend="elem_move">move</link>
  -and <link linkend="elem_unpack">unpack</link>.
  -.</para>
  +<para>This element occurs in the elements :  
  +<xref linkend="elem_copy"/>  |  
  +<xref linkend="elem_download"/>  |  
  +<xref linkend="elem_move"/>  |  
  +<xref linkend="elem_unpack"/>  |  
  +</para>
   
   </sect2>
   
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>destination</token> is used to specify the name
  -of the destination file or directory when processing
  -a <link linkend="elem_copy">copy</link>,
  -<link linkend="elem_move">move</link> or
  -<link linkend="elem_unpack">unpack</link> element.
  -</para>
  +<para>The element <filename>destination</filename> is used to specify the
  +name of the destination file or directory when processing a 
  +<xref linkend="elem_copy"/>  |  
  +<xref linkend="elem_move"/>  |  
  +<xref linkend="elem_unpack"/> element.</para>
  +
  +<para>It is also used to specify the path of the destination directory when
  +processing a <xref linkend="elem_download"/> element.</para>
   
  -<para>It is also used to specify the path of the
  -destination directory when processing a
  -<link linkend="elem_download">download</link> element.</para>
   </sect2>
   
   <sect2>
  @@ -38,38 +37,30 @@
   
   <para>The first example is an unpack command.</para>
   
  -<programlisting>
  -<unpack>
  -    <archive>/usr/src/lfs-packages/gzip.1.2.4a.tar.gz</archive>
  -    <destination>/usr/src</destination>
  -</unpack>
  -</programlisting>
  +<screen><userinput><unpack>
  +	<archive>/usr/src/lfs-packages/gzip.1.2.4a.tar.gz</archive>
  +	<destination>/usr/src</destination>
  +</unpack></userinput></screen>
   
  -<para>The equivalent bash script is :</para>
  +<para>The equivalent bash script is :</para>
   
  -<programlisting>
  -echo Unpacking /usr/src/lfs-packages/gzip.1.2.4a.tar.gz into /usr/src
  +<screen><userinput>echo Unpacking /usr/src/lfs-packages/gzip.1.2.4a.tar.gz into /usr/src
   cd /usr/src
  -tar xzvf /usr/src/lfs-packages/gzip.1.2.4a.tar.gz
  -</programlisting>
  +<command>tar -xzvf /usr/src/lfs-packages/gzip.1.2.4a.tar.gz</command></userinput></screen>
   
   <para>The second example is a copy command.</para>
   
  -<programlisting>
  -<copy base="/usr/src/mypackage">
  -   <option>force</option>
  -   <source>config.txt</source>
  -   <destination>/opt/mypackage/config.txt</destination>
  -</copy>
  -</programlisting>
  +<screen><userinput><copy base="/usr/src/mypackage">
  +	<option>force</option>
  +	<source>config.txt</source>
  +	<destination>/opt/mypackage/config.txt</destination>
  +</copy></userinput></screen>
   
  -<para>The equivalent bash script is :</para>
  +<para>The equivalent bash script is :</para>
   
  -<programlisting>
  -echo Copying 'config.txt into /opt/mypackage/config.txt'
  +<screen><userinput>echo Copying 'config.txt into /opt/mypackage/config.txt'
   cd /usr/src/mypackage
  -cp -f  config.txt /opt/mypackage/config.txt
  -</programlisting>
  +<command>cp -f  config.txt /opt/mypackage/config.txt</command></userinput></screen>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list