Unverified Commit fd53ec1a authored by Amin Bandali's avatar Amin Bandali
Browse files

packaging: parallelize libqt-jami deb package build

Change-Id: Ie938153fd4581e6007c4c2c65b82649c56c31e4c
parent 6c238b06
...@@ -3,16 +3,23 @@ ...@@ -3,16 +3,23 @@
# export DH_VERBOSE = 1 # export DH_VERBOSE = 1
# Number of CPUS
NO_CPUS=$(shell nproc)
ifeq ($(NO_CPUS),0)
NO_CPUS=1
endif
%: %:
dh $@ dh $@
override_dh_auto_configure: override_dh_auto_configure:
./configure \ MAKEFLAGS="-j$(NO_CPUS) V=1" \
-opensource \ ./configure \
-confirm-license \ -opensource \
-nomake examples \ -confirm-license \
-nomake tests \ -nomake examples \
-prefix "${QT_JAMI_PREFIX}" -nomake tests \
-prefix "${QT_JAMI_PREFIX}"
override_dh_auto_install: override_dh_auto_install:
dh_auto_install -Smakefile -- INSTALL_ROOT=$(CURDIR)/debian/tmp/ dh_auto_install -Smakefile -- INSTALL_ROOT=$(CURDIR)/debian/tmp/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment