---
ChangeLog | 4 ++++
debian/rules | 3 ++-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ce898e2..df0d01b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2012-05-23 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * debian/rules: Handles '-j' option for make.
+
+2012-05-23 Guillaume Lazzara <z(a)lrde.epita.fr>
+
* debian/control: Update Standards-Version.
2012-05-23 Guillaume Lazzara <z(a)lrde.epita.fr>
diff --git a/debian/rules b/debian/rules
index 7b915a8..a94b647 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,7 @@ export DH_OPTIONS
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+CPU_COUNT ?= $(shell grep -c processor /proc/cpuinfo)
CFLAGS = -Wall -g
@@ -25,7 +26,7 @@ build-stamp:
dh_testdir
./bootstrap
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --enable-scribo
--prefix=/usr --libexecdir=/usr/lib
- $(MAKE)
+ $(MAKE) -j$(CPU_COUNT)
touch $@
clean:
--
1.7.2.5