[Box Backup-commit] COMMIT r2583 - box/trunk/infrastructure

subversion at boxbackup.org subversion
Wed Nov 11 19:22:17 GMT 2009


Author: chris
Date: 2009-11-11 19:21:48 +0000 (Wed, 11 Nov 2009)
New Revision: 2583

Modified:
   box/trunk/infrastructure/makebuildenv.pl.in
Log:
Add support for Makefile.pre in build infrastructure.


Modified: box/trunk/infrastructure/makebuildenv.pl.in
===================================================================
--- box/trunk/infrastructure/makebuildenv.pl.in	2009-09-26 16:51:07 UTC (rev 2582)
+++ box/trunk/infrastructure/makebuildenv.pl.in	2009-11-11 19:21:48 UTC (rev 2583)
@@ -613,6 +613,12 @@
 
 __E
 	}
+
+	# if there is a Makefile.pre, include it now
+	if(-e "$mod/Makefile.pre")
+	{
+		print MAKE ".include <Makefile.pre>\n\n";
+	}
 	
 	# read directory
 	opendir DIR,$mod;
@@ -733,7 +739,7 @@
 	$has_deps = 1;
 	$has_deps = 0 if $target_is_library;
 
-	# Depenency stuff
+	# Dependency stuff
 	my $deps_makeinfo;
 	if($has_deps)
 	{




More information about the Boxbackup-commit mailing list