[2/4] testbot/build: Let make rebuild the makefiles instead of calling config.status from Build.pl.

Francois Gouget fgouget at codeweavers.com
Wed Mar 27 10:31:32 CDT 2013


---
 testbot/bin/build/Build.pl |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testbot/bin/build/Build.pl b/testbot/bin/build/Build.pl
index 2964049..76e73f4 100755
--- a/testbot/bin/build/Build.pl
+++ b/testbot/bin/build/Build.pl
@@ -192,7 +192,7 @@ sub BuildTestExecutable
   {
     InfoMsg "Recreating include/Makefile\n";
     system("( cd $DataDir/build-mingw$Bits && set -x && " .
-           "  ./config.status --file include/Makefile:Make.vars.in:include/Makefile.in " .
+           "  make -j$ncpus include/Makefile " .
            ") >>$LogDir/Build.log 2>&1");
     if ($? != 0)
     {
@@ -214,7 +214,7 @@ sub BuildTestExecutable
   {
     InfoMsg "Rebuilding $BaseName import lib\n";
     system("( cd $DataDir/build-mingw$Bits && set -x && " .
-           "  ./config.status --file $PatchType/$BaseName/Makefile:Make.vars.in:$PatchType/$BaseName/Makefile.in " .
+           "  make -j$ncpus $PatchType/$BaseName/Makefile " .
            ") >>$LogDir/Build.log 2>&1");
     if ($? != 0)
     {
@@ -236,7 +236,7 @@ sub BuildTestExecutable
   {
     InfoMsg "Recreating tests/Makefile\n";
     system("( cd $DataDir/build-mingw$Bits && set -x && " .
-           "  ./config.status --file $PatchType/$BaseName/tests/Makefile:Make.vars.in:$PatchType/$BaseName/tests/Makefile.in " .
+           "  make -j$ncpus $PatchType/$BaseName/tests/Makefile " .
            ") >>$LogDir/Build.log 2>&1");
     if ($? != 0)
     {
-- 
1.7.10.4




More information about the wine-patches mailing list