cvs commit: ALFS/docs/syntax_doc/preface changelog.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Fri Apr 2 19:37:38 PST 2004


jwrober     04/04/02 20:37:38

  Modified:    docs/syntax_doc/alfs_dtd elem_alfs.xml elem_archive.xml
                        elem_base.xml elem_stageinfo.xml
               docs/syntax_doc/preface changelog.xml
  Log:
  cleanup
  
  Revision  Changes    Path
  1.18      +1 -11     ALFS/docs/syntax_doc/alfs_dtd/elem_alfs.xml
  
  Index: elem_alfs.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_alfs.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- elem_alfs.xml	23 Feb 2004 03:08:16 -0000	1.17
  +++ elem_alfs.xml	3 Apr 2004 03:37:38 -0000	1.18
  @@ -48,19 +48,9 @@
   <para>When processing an <filename>alfs</filename> element, one processes all its
   embedded children in their order of occurence.</para>
   
  -<para>Notice that all the main operation elements
  -(<filename>configure</filename> to <filename>unpack</filename>) are surrounded
  -by parathensis [ ( ) ] and followed by an asterisk
  -[ * ]. The asterisk signifies that each main operation element can
  -be used optionally inside the <filename>alfs</filename> declaration in a
  -profile and that, if used, they can be used more than once.</para>
  -
   <para>The attribute <filename>base</filename> is used to specify the base
   directory which will be used by all the commands in the element
  -<filename>alfs</filename>. The use of <userinput>#IMPLIED</userinput> denotes
  -that this attribute is optional.  If not used, <filename>base</filename> will
  -inherit its value from an earlier use in the profile. See
  -<xref linkend="elem_base"/>.</para>
  +<filename>alfs</filename>. See <xref linkend="elem_base"/>.</para>
   
   <para>The attribute <filename>version</filename> identifies the version of the
   <acronym>ALFS</acronym> profile syntax used; it should be
  
  
  
  1.12      +1 -10     ALFS/docs/syntax_doc/alfs_dtd/elem_archive.xml
  
  Index: elem_archive.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_archive.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- elem_archive.xml	23 Feb 2004 03:08:16 -0000	1.11
  +++ elem_archive.xml	3 Apr 2004 03:37:38 -0000	1.12
  @@ -26,16 +26,7 @@
   <sect2>
   <title>Examples</title>
   
  -<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>
  -
  -<screen><userinput>echo Unpacking /usr/src/lfs-packages/gzip.1.2.4a.tar.gz into /usr/src
  -cd /usr/src
  -<command>tar -xzvf /usr/src/lfs-packages/gzip.1.2.4a.tar.gz</command></userinput></screen>
  +<para>See <xref linkend="elem_unpack"/> for example usage.</para>
   
   </sect2>
   
  
  
  
  1.14      +25 -14    ALFS/docs/syntax_doc/alfs_dtd/elem_base.xml
  
  Index: elem_base.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_base.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- elem_base.xml	23 Feb 2004 03:08:33 -0000	1.13
  +++ elem_base.xml	3 Apr 2004 03:37:38 -0000	1.14
  @@ -13,15 +13,7 @@
   <xref linkend="elem_stageinfo"/>
   </para>
   
  -</sect2>
  -
  -<sect2>
  -<title>Description</title>
  -
  -<para>The element <filename>base</filename> is used to specify the base
  -directory which will be used by all the commands in the stage (inherited),
  -unless another base is specified at the level of the command as an attribute.
  -See also :  
  +<para>This elements occurs as an attribute in the elements :  
   <xref linkend="elem_alfs"/>  |  
   <xref linkend="elem_configure"/>  |  
   <xref linkend="elem_copy"/>  |  
  @@ -40,10 +32,23 @@
   </sect2>
   
   <sect2>
  +<title>Description</title>
  +
  +<para>The element <filename>base</filename> is used to specify the base
  +directory which will be used by all the commands in the stage (inherited),
  +unless another base is specified at the level of the command as an
  +attribute.</para>
  +
  +</sect2>
  +
  +<sect2>
   <title>Examples</title>
   
  -<screen><userinput><stage>
  +<screen><userinput><stage name="Install gzip">
   	<stageinfo>
  +		<root>/mnt/lfs</root>
  +		<user>lfs</user>
  +		<environment>PATH=/bin:/sbin</environment>
   		<base>/usr/src/gzip.1.2.4a</base>
   	</stageinfo>
   
  @@ -54,22 +59,28 @@
   	</make>
   
   	<make>
  -        	<param>install</param>
  +		<param>install</param>
   	</make>
   </stage></userinput></screen>
   
   <para>The equivalent bash script is :</para>
   
  -<screen><userinput>echo Entering Stage
  +<screen><userinput>echo Executing configure
  +su - lfs
  +export PATH=/bin:/sbin
   cd /usr/src/gzip.1.2.4a
  -
  -echo Executing configure
   <command>./configure</command>
   
   echo Executing make
  +su - lfs
  +export PATH=/bin:/sbin
  +cd /usr/src/gzip.1.2.4a
   <command>make</command>
   
   echo Executing make
  +su - lfs
  +export PATH=/bin:/sbin
  +cd /usr/src/gzip.1.2.4a
   <command>make install</command>
   
   echo Exiting stage</userinput></screen>
  
  
  
  1.7       +14 -3     ALFS/docs/syntax_doc/alfs_dtd/elem_stageinfo.xml
  
  Index: elem_stageinfo.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_stageinfo.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- elem_stageinfo.xml	23 Feb 2004 03:53:51 -0000	1.6
  +++ elem_stageinfo.xml	3 Apr 2004 03:37:38 -0000	1.7
  @@ -50,14 +50,19 @@
   <sect2>
   <title>Examples</title>
   
  -<screen><userinput><stage>
  +<screen><userinput><stage name="Install gzip">
   	<stageinfo>
  +		<root>/mnt/lfs</root>
  +		<user>lfs</user>
  +		<environment>PATH=/bin:/sbin</environment>
   		<base>/usr/src/gzip.1.2.4a</base>
   	</stageinfo>
   
  -	<configure />
  +	<configure>
  +	</configure>
   
  -	<make />
  +	<make>
  +	</make>
   
   	<make>
   		<param>install</param>
  @@ -67,14 +72,20 @@
   <para>The equivalent bash script is :</para>
   
   <screen><userinput>echo Executing configure
  +su - lfs
  +export PATH=/bin:/sbin
   cd /usr/src/gzip.1.2.4a
   <command>./configure</command>
   
   echo Executing make
  +su - lfs
  +export PATH=/bin:/sbin
   cd /usr/src/gzip.1.2.4a
   <command>make</command>
   
   echo Executing make
  +su - lfs
  +export PATH=/bin:/sbin
   cd /usr/src/gzip.1.2.4a
   <command>make install</command>
   
  
  
  
  1.31      +3 -0      ALFS/docs/syntax_doc/preface/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/preface/changelog.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- changelog.xml	3 Apr 2004 03:15:06 -0000	1.30
  +++ changelog.xml	3 Apr 2004 03:37:38 -0000	1.31
  @@ -6,6 +6,9 @@
   
   <itemizedlist>
   
  +<listitem><para>April 2nd, 2004 [jwrober]: Cleaned up elem_alfs, elem_base,
  +and part of elem_stageinfo.</para></listitem>
  +
   <listitem><para>April 2nd, 2004 [jwrober]: Added more formatting to the XML
   DTD intro page to match conventions.</para></listitem>
   
  
  
  



More information about the alfs-log mailing list