[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.2.3-6900-g13101d6

Gustavo Noronha Silva kov at debian.org
Fri Aug 6 19:37:35 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 123344c87d40ad1bb35a517ecd456cd76bd6364f
Author: Gustavo Noronha Silva <kov at debian.org>
Date:   Mon Jul 12 15:58:35 2010 -0300

    Support parallel builds by passing the -j argument to make

diff --git a/debian/rules b/debian/rules
index c68332d..d6c7d8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,11 @@ ifeq ($(DEB_BUILD_ARCH),s390)
         CFLAGS += -gstabs
 endif
 
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	MAKEARGUMENTS += -j$(NUMJOBS)
+endif
+
 clean:
 	dh_testdir
 	dh_testroot
@@ -59,7 +64,7 @@ build-stamp:
 		--build=$(DEB_BUILD_GNU_TYPE) \
 		--enable-gtk-doc
 
-	$(MAKE) -C build
+	$(MAKE) $(MAKEARGUMENTS) -C build
 
 	# Awesome hack to get the docs built! For some reason, the
 	# first call to make docs fails mid-work, but the second

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list