Commit 0d69e283 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

fix .deps file handling

2007-10-27  Juerg Billeter  <j@bitron.ch>

	* vapigen/valavapigen.vala: fix .deps file handling

svn path=/trunk/; revision=663
parent 6682a032
2007-10-27 Jürg Billeter <j@bitron.ch>
* vapigen/valavapigen.vala: fix .deps file handling
2007-10-27 Jürg Billeter <j@bitron.ch>
* configure.ac, vapigen/Makefile.am, vapigen/gidlgen/Makefile.am,
......
......@@ -114,11 +114,11 @@ class Vala.VAPIGen : Object {
/* load packages from .deps file */
foreach (string source in sources) {
if (!source.has_suffix (".gidl")) {
if (!source.has_suffix (".gi")) {
continue;
}
var depsfile = source.substring (0, source.len () - 4) + "deps";
var depsfile = source.substring (0, source.len () - "gi".len ()) + "deps";
if (!FileUtils.test (depsfile, FileTest.EXISTS)) continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment