cvs commit: ALFS/docs/syntax_doc/alfs_dtd alfs_dtd.ent alfs_dtd.xml elem_alfs.xml elem_archive.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Tue Sep 30 07:57:04 PDT 2003


jwrober     03/09/30 08:57:04

  Modified:    docs/syntax_doc/alfs_dtd alfs_dtd.ent alfs_dtd.xml
                        elem_alfs.xml elem_archive.xml
  Log:
  Added an alfs_dtd intro page.
  
  Revision  Changes    Path
  1.4       +1 -0      ALFS/docs/syntax_doc/alfs_dtd/alfs_dtd.ent
  
  Index: alfs_dtd.ent
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/alfs_dtd.ent,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- alfs_dtd.ent	27 Sep 2003 04:57:48 -0000	1.3
  +++ alfs_dtd.ent	30 Sep 2003 14:57:04 -0000	1.4
  @@ -1,4 +1,5 @@
   <!ENTITY alfs_dtd            SYSTEM "alfs_dtd.xml">
  +<!ENTITY alfs_dtd-intro      SYSTEM "alfs_dtd-intro.xml">
   <!ENTITY elem_alfs           SYSTEM "elem_alfs.xml">
   <!ENTITY elem_archive        SYSTEM "elem_archive.xml">
   <!ENTITY elem_base           SYSTEM "elem_base.xml">
  
  
  
  1.6       +1 -124    ALFS/docs/syntax_doc/alfs_dtd/alfs_dtd.xml
  
  Index: alfs_dtd.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/alfs_dtd.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- alfs_dtd.xml	29 Sep 2003 21:41:54 -0000	1.5
  +++ alfs_dtd.xml	30 Sep 2003 14:57:04 -0000	1.6
  @@ -2,178 +2,55 @@
   <?dbhtml filename="alfs_dtd.html" dir="alfs_dtd"?>
   <title>Description of the ALFS profile syntax</title>
   
  -<para>ALFS profiles are written using an XML syntax. This chapter describes 
  -the various XML elements that can occur in the profile.</para>
  -
  -<para>For each element, one describes :
  -	
  -<itemizedlist>
  -
  -<listitem><para>the formal definition of the element, using the DTD 
  -syntax</para></listitem>
  -
  -<listitem><para>a description of the element</para></listitem>
  -
  -<listitem><para>one or several examples</para></listitem>
  -
  -<listitem><para>the equivalent bash scripts for the examples, when 
  -applicable</para></listitem>
  -
  -</itemizedlist>
  -
  -</para>
  -
  -<para>The bash scripts have been generated by YAALFS. The checking of the 
  -return code have been removed.</para>
  -
  -<note><para>This document describes the syntax of the version 3.1 of the 
  -syntax, as used in nALFS 1.1.8 and YAALFS.</para></note>
  -
  -
  +&alfs_dtd-intro;
   &elem_alfs;
  -
  -
   &elem_archive;
  -
  -
   &elem_base;
  -
  -
   &elem_configure;
  -
  -
   &elem_content;
  -
  -
   &elem_copy;
  -
  -
   &elem_description;
  -
  -
   &elem_destination;
  -
  -
   &elem_digest;
  -
  -
   &elem_download;
  -
  -
   &elem_else;
  -
  -
   &elem_environment;
  -
  -
   &elem_execute;
  -
  -
   &elem_file;
  -
  -
   &elem_find;
  -
  -
   &elem_if;
  -
  -
   &elem_item;
  -
  -
   &elem_link;
  -
  -
   &elem_list;
  -
  -
   &elem_make;
  -
  -
   &elem_mkdir;
  -          
  -
   &elem_move;
  -
  -
   &elem_name;
  -
  -
   &elem_option;
  -
  -
   &elem_ownership;
  -          
  -
   &elem_package;
  -
  -
   &elem_packageinfo;
  -
  -
   &elem_para;
  -
  -
   &elem_param;
  -
  -
   &elem_patch;
  -
  -
   &elem_permissions;
  -
  -
   &elem_reference;
  -
  -
   &elem_remove;
  -
  -
   &elem_replace;
  -
  -
   &elem_requires;
  -
  -
   &elem_root;
  -
  -
   &elem_search_replace;
  -
  -
   &elem_source;
  -
  -
   &elem_stage;
  -
  -
   &elem_stageinfo;
  -
  -
   &elem_target;
  -
  -
   &elem_textdump;
  -
  -
   &elem_then;
  -
  -
   &elem_unpack;
  -
  -
   &elem_url;
  -
  -
   &elem_user;
  -
  -
   &elem_utilizes;
  -
  -
   &elem_variable;
  -
  -
   &elem_version;
   
   </chapter>
  
  
  
  1.5       +8 -8      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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- elem_alfs.xml	29 Sep 2003 21:41:54 -0000	1.4
  +++ elem_alfs.xml	30 Sep 2003 14:57:04 -0000	1.5
  @@ -5,12 +5,13 @@
   <sect2>
   <title>Syntax</title>
   
  -<synopsis><!ELEMENT alfs           (configure|copy|download|execute|if|link|make|
  +<synopsis>
  +<!ELEMENT alfs           (configure|copy|download|execute|if|link|make|
                             mkdir|move|ownership|package|patch|
                             permissions|remove|search_replace|
  -                          stage|textdump|unpack)*>
  +                          stage|textdump|unpack)*>
   <!ATTLIST alfs
  -          version        CDATA   #FIXED "3.1">
  +          version        CDATA   #FIXED "3.1">
   </synopsis>
   
   <para>See also :
  @@ -57,17 +58,16 @@
   <programlisting>
   <!DOCTYPE alfs SYSTEM "alfs.dtd" [
   
  -<!ENTITY % general_entities SYSTEM "entities/general">
  +<!ENTITY % general_entities SYSTEM "entities/general">
   
   %general_entities;
   
  -]>
  -<alfs version="3.0">
  +]>
  +<alfs version="3.1">
   
    .....
   
  -
  -</alfs>
  +</alfs>
   </programlisting>
   
   </sect2>
  
  
  
  1.5       +7 -6      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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- elem_archive.xml	29 Sep 2003 21:41:54 -0000	1.4
  +++ elem_archive.xml	30 Sep 2003 14:57:04 -0000	1.5
  @@ -6,7 +6,7 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT archive        (#PCDATA)>
  +<!ELEMENT archive        (#PCDATA)>
   </synopsis>
   
   <para>This element occurs in the elements
  @@ -27,15 +27,16 @@
   <title>Examples</title>
   
   <programlisting>
  -<unpack>
  -    <archive>/usr/src/lfs-packages/gzip.1.2.4a.tar.gz</archive>
  -    <destination>/usr/src</destination>
  -</unpack>
  +<unpack>
  +    <archive>/usr/src/lfs-packages/gzip.1.2.4a.tar.gz</archive>
  +    <destination>/usr/src</destination>
  +</unpack>
   </programlisting>
   
   <para>The equivalent bash script is :</para>
   
  -<programlisting>echo Unpacking /usr/src/lfs-packages/gzip.1.2.4a.tar.gz into /usr/src
  +<programlisting>
  +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>
  
  
  



More information about the alfs-log mailing list