[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.2.1-2-74-gcc212da
Gustavo Noronha Silva
kov at debian.org
Mon Jul 12 23:02:12 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 0245c09df1dddb67d1b3d5b1034fd1f31a5272fa
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 68f590e..31e26f3 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
@@ -51,7 +56,7 @@ build-stamp:
--enable-gtk-doc \
--enable-introspection
- $(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