Ryujinx-GtkSharp/parser/build.pl
Mike Kestner 304427af77 2002-06-25 Mike Kestner <mkestner@speakeasy.net>
* generator/gtkapi.xml : lots of fixes, plus GtkHTML!
	* parser/Gtk.metadata : add a bunch of renames.
	* parser/build.pl : Add the gtkhtml parse.
	* parser/README : module list to parse

svn path=/trunk/gtk-sharp/; revision=5459
2002-06-26 00:54:05 +00:00

19 lines
467 B
Perl
Executable File

#!/usr/bin/perl -w
$file = "../generator/gtkapi.xml";
unlink ($file);
%srcs = ( "atk-1.0.2/atk" => "Atk:atk-1.0",
"pango-1.0.2/pango" => "Pango:pango-1.0",
"gtk+-2.0.3/gdk" => "Gdk:gdk-x11-2.0",
"gtk+-2.0.3/gdk-pixbuf" => "Gdk:gdk_pixbuf-2.0",
"gtk+-2.0.3/gtk" => "Gtk:gtk-x11-2.0",
"gtkhtml" => "Gtk:gtkhtml-2");
foreach $dir (keys %srcs) {
($ns, $lib) = split (/:/, $srcs{$dir});
system ("./gapi_pp.pl $dir | ./gapi2xml.pl $ns $file $lib");
}