hi juerg,
i note that vala now has automake support for .vala files but it
lacks .gs genie source file support
i have a patch for autotools to support genie but my perl is not very
good so please see attached patch and let me know if its right and i
will forward to autotools list
thanks
jamie
diff --git a/automake.in b/automake.in
index bab8c42..2cb5c36 100755
--- a/automake.in
+++ b/automake.in
@@ -819,7 +819,7 @@ register_language ('name' => 'vala',
'compile' => '$(VALAC) $(AM_VALAFLAGS) $(VALAFLAGS)',
'ccer' => 'VALAC',
'compiler' => 'VALACOMPILE',
- 'extensions' => ['.vala'],
+ 'extensions' => ['.vala', '.gs'],
'output_extensions' => sub { (my $ext = $_[0]) =~ s/vala$/c/;
return ($ext,) },
'rule_file' => 'vala',
@@ -5947,7 +5947,7 @@ sub lang_vala_finish_target ($$)
"\t rm -f \$(srcdir)/${derived}_vala.stamp; \\\n".
"\t \$(am__cd) \$(srcdir) && \$(MAKE) \$(AM_MAKEFLAGS) ${derived}_vala.stamp; \\\n".
"\tfi\n"
- if $file =~ s/(.*)\.vala$/$1.c/;
+ if ($file =~ s/(.*)\.vala$/$1.c/) || ($file =~ s/(.*)\.gs$/$1.c/);
}
}
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list