diff -Nru recoll-1.24.3/debian/changelog recoll-1.24.3/debian/changelog --- recoll-1.24.3/debian/changelog 2018-11-26 13:40:40.000000000 +0000 +++ recoll-1.24.3/debian/changelog 2018-11-27 08:39:56.000000000 +0000 @@ -1,3 +1,11 @@ +recoll (1.24.3-3) unstable; urgency=low + + * debian/rules: + + Added patch to enable parallel building. Thanks Pino Toscano. + (Closes: #914782) + + -- Kartik Mistry Tue, 27 Nov 2018 14:09:56 +0530 + recoll (1.24.3-2) unstable; urgency=low * debian/control: diff -Nru recoll-1.24.3/debian/rules recoll-1.24.3/debian/rules --- recoll-1.24.3/debian/rules 2018-06-28 12:26:19.000000000 +0000 +++ recoll-1.24.3/debian/rules 2018-11-27 08:37:10.000000000 +0000 @@ -15,6 +15,10 @@ #build qt5 UI export QT_SELECT := qt5 +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NJOBS := -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +endif + config.status: configure dh_testdir ./configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ @@ -30,7 +34,7 @@ build-indep: build-stamp build-stamp: config.status dh_testdir - $(MAKE) + $(MAKE) $(NJOBS) touch $@ clean: