Title: [112153] trunk/Tools
- Revision
- 112153
- Author
- [email protected]
- Date
- 2012-03-26 15:14:38 -0700 (Mon, 26 Mar 2012)
Log Message
[jhbuild] Use $MAKE if it is defined to build jhbuild itself.
https://bugs.webkit.org/show_bug.cgi?id=82209
Reviewed by Martin Robinson.
Respecting the $MAKE environment variable when it is defined makes
building jhbuild more portable, as some platforms may have GNU
make as gmake, for example.
* jhbuild/jhbuild-wrapper:
(install_jhbuild):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (112152 => 112153)
--- trunk/Tools/ChangeLog 2012-03-26 22:04:22 UTC (rev 112152)
+++ trunk/Tools/ChangeLog 2012-03-26 22:14:38 UTC (rev 112153)
@@ -1,3 +1,17 @@
+2012-03-26 Raphael Kubo da Costa <[email protected]>
+
+ [jhbuild] Use $MAKE if it is defined to build jhbuild itself.
+ https://bugs.webkit.org/show_bug.cgi?id=82209
+
+ Reviewed by Martin Robinson.
+
+ Respecting the $MAKE environment variable when it is defined makes
+ building jhbuild more portable, as some platforms may have GNU
+ make as gmake, for example.
+
+ * jhbuild/jhbuild-wrapper:
+ (install_jhbuild):
+
2012-03-26 Dirk Pranke <[email protected]>
add a Tree abstraction to test-webkitpy to better encapsulate things
Modified: trunk/Tools/jhbuild/jhbuild-wrapper (112152 => 112153)
--- trunk/Tools/jhbuild/jhbuild-wrapper 2012-03-26 22:04:22 UTC (rev 112152)
+++ trunk/Tools/jhbuild/jhbuild-wrapper 2012-03-26 22:14:38 UTC (rev 112153)
@@ -18,6 +18,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
import os
+import shlex
import subprocess
import sys
@@ -90,7 +91,11 @@
if process.returncode != 0:
raise Exception('jhbuild configure failed with return code: %i' % process.returncode)
- process = subprocess.Popen(['make', 'install'], cwd=jhbuild_source_path)
+ # This is a hackish approach to make the subprocess.Popen call even when people set
+ # MAKE to 'make -j3' instead of using the MAKEFLAGS environment variable.
+ make = shlex.split(os.environ.get('MAKE', 'make'))
+
+ process = subprocess.Popen(make + ['install'], cwd=jhbuild_source_path)
process.wait()
if process.returncode != 0:
raise Exception('jhbuild configure failed with return code: %i' % process.returncode)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes