--- rules.orig	2013-08-27 01:13:59.405205380 +0800
+++ rules	2013-08-27 01:04:19.981193725 +0800
@@ -3,6 +3,10 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
+	NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
+endif
+
 default: build
 
 autoinit:
@@ -63,7 +67,7 @@
 build: configure build-stamp
 build-stamp:
 	dh_testdir
-	$(MAKE)
+	$(MAKE) $(NJOBS)
 	touch $@
 
 # CURDIR is set by make
