debian: Enable parallel package build
authorBalint Reczey <balint@balintreczey.hu>
Sat, 26 Sep 2015 17:07:22 +0000 (19:07 +0200)
committerAlexis La Goutte <alexis.lagoutte@gmail.com>
Mon, 28 Sep 2015 07:30:34 +0000 (07:30 +0000)
Debian packages used to build with parallel build enabled when
debian/rules used autotools but with switching to CMake the
parallel build failed sometimes. Now the CMake based build
system seems to be working for parallel builds, too, thus
it seems to be safe to enable parallel building of .debs again.

Change-Id: I79003bf6c4b74640f24d907b763a5cc3da595e68
Reviewed-on: https://code.wireshark.org/review/10657
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
debian/rules

index 3097f650603bc7e89c39b798ceb78c28e2a75679..c2cabc15cc89807e4515eb227cafbdb8fed88e18 100755 (executable)
@@ -16,7 +16,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p')
 export docdir = /usr/share/doc/wireshark-doc
 %:
-       dh $@ --with python2 --buildsystem cmake --with quilt --parallel
+       dh $@ --with python2 --buildsystem cmake --with quilt --parallel
 
 override_dh_auto_configure:
        dh_auto_configure -- -DENABLE_HTML_GUIDES=ON -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \