[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1284
Date       : Fri Jun  9 12:01:24 BST 2006

Changed paths:
   M /Trunk/XaraLX/Scripts/gendeps.pl

Fix gendeps to work with files in camtypes (don't assume camtypes is included in all headers)


Diff:
Index: Trunk/XaraLX/Scripts/gendeps.pl
===================================================================
--- Trunk/XaraLX/Scripts/gendeps.pl	(revision 1283)
+++ Trunk/XaraLX/Scripts/gendeps.pl	(revision 1284)
@@ -444,7 +444,7 @@
 
 	    $depend{$dep}=$depend{$dep}.$dependson;
 	    # pretend everything depends on camtypes (it ought to in the main)
-	    $depend{$dep}.="camtypes.h.gch " unless ($dep eq "camtypes.h.gch");
+	    $depend{$dep}.="camtypes.h.gch " unless (($dep eq "camtypes.h.gch") || ($dep =~/\.h$/));
 
 	    remembertarget($dep);
 	}


Xara