2003-01-22 Radek Doulik <rodo@ximian.com>

* parser/gapi2xml.pl: add comment to .xml files with warning that
	they were auto generated

svn path=/trunk/gtk-sharp/; revision=10814
This commit is contained in:
Radek Doulik 2003-01-22 13:57:34 +00:00
parent 0d2387f900
commit c9d21b1900
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-01-22 Radek Doulik <rodo@ximian.com>
* parser/gapi2xml.pl: add comment to .xml files with warning that
they were auto generated
2003-01-20 Mike Kestner <mkestner@speakeasy.net>
* released 0.7.

View File

@ -33,6 +33,8 @@ if (-e $ARGV[1]) {
$doc = XML::LibXML::Document->new();
$root = $doc->createElement('api');
$doc->setDocumentElement($root);
$warning_node = XML::LibXML::Comment->new ("\n\n This file was automatically generated.\n Please DO NOT MODIFY THIS FILE, modify .metadata files instead.\n\n");
$root->appendChild($warning_node);
}
$ns_elem = $doc->createElement('namespace');