debian: Attempt to fix parrelization

This commit fixes some quagga build issues such
that you can now use -j in your sbuild line.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Jon Toppins <toppins@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2016-04-27 12:27:37 -04:00
parent 651415bd61
commit 35dab95b76

8
debian/rules vendored
View File

@ -11,6 +11,14 @@ else
$(warning "DEBIAN: SNMP disabled, see README.Debian")
endif
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
DEBIAN_JOBS := $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
ifdef DEBIAN_JOBS
MAKEFLAGS += -j$(DEBIAN_JOBS)
endif
%:
dh $@ --with=systemd --parallel --with autoreconf --dbg-package=quagga-dbg --list-missing
if [ -e config.status ]; then \