Hello,

HTML files have a warning:
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
              This file is generated from xml source: DO NOT EDIT
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

convenience.map has:
# GENERATED FROM XML -- DO NOT EDIT

but allmodules.xml, typemaps and metafiles don't.
Such a warning helps newcomer.
Index: manual/style/xsl/typemap.xsl
===================================================================
--- manual/style/xsl/typemap.xsl        (revision 650904)
+++ manual/style/xsl/typemap.xsl        (working copy)
@@ -44,6 +44,8 @@
 <!-- build typemap                                                        -->
 <!-- ==================================================================== -->
 <xsl:template match="/metafile">
+<xsl:text># GENERATED FROM XML -- DO NOT EDIT</xsl:text>&lf;
+&lf;
 <xsl:apply-templates select="variants/variant" />
 </xsl:template>
 <!-- /metafile -->
Index: lib/allmodules.pl
===================================================================
--- lib/allmodules.pl   (revision 650831)
+++ lib/allmodules.pl   (working copy)
@@ -119,6 +119,7 @@
 
     my $content = <<"    XML";
 <?xml version="1.0" encoding="UTF-8"?>
+<!-- GENERATED FROM XML: DO NOT EDIT -->
 
 <modulefilelist>
   @{[ join "\n  " => map qq{<modulefile>$_</modulefile>} => @modules ]}
@@ -173,6 +174,7 @@
 sample file:
 
 <?xml version="1.0" encoding="UTF-8"?>
+<!-- GENERATED FROM XML: DO NOT EDIT -->
 
 <modulefilelist>
     <modulefile>core.xml</modulefile>
Index: lib/metafile.pl
===================================================================
--- lib/metafile.pl     (revision 650831)
+++ lib/metafile.pl     (working copy)
@@ -97,6 +97,7 @@
     # create resulting file contents
     my $content = <<"    XML";
 <?xml version="1.0" encoding="UTF-8" ?>
+<!-- GENERATED FROM XML: DO NOT EDIT -->
 
 <metafile>
   <basename>$basename</basename>
@@ -271,6 +272,7 @@
 sample file:
 
 <?xml version="1.0" encoding="UTF-8" ?>
+<!-- GENERATED FROM XML: DO NOT EDIT -->
 
 <metafile>
   <basename>quickreference</basename>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to