[svn:parrot] r41443 - trunk/tools/dev

fperrad at svn.parrot.org fperrad at svn.parrot.org
Thu Sep 24 13:07:53 UTC 2009


Author: fperrad
Date: Thu Sep 24 13:07:47 2009
New Revision: 41443
URL: https://trac.parrot.org/parrot/changeset/41443

Log:
[languages] allows extra configuration from language

Modified:
   trunk/tools/dev/gen_makefile.pl

Modified: trunk/tools/dev/gen_makefile.pl
==============================================================================
--- trunk/tools/dev/gen_makefile.pl	Thu Sep 24 09:02:37 2009	(r41442)
+++ trunk/tools/dev/gen_makefile.pl	Thu Sep 24 13:07:47 2009	(r41443)
@@ -28,6 +28,10 @@
 my $conf = Parrot::Configure->new();
 $conf->options->set( %{$args} );
 $conf->data()->get_PConfig(); #load configuration data
+foreach (@ARGV) {
+    next unless (/--(\w+)=(\w+)/);
+    $conf->data->set( $1 => $2 );
+}
 $conf->genfile(
     $template           => $makefile,
     file_type           => 'makefile',


More information about the parrot-commits mailing list