Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
debian: add support for dpkg-buildpackage -j parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Jan 23, 2012
1 parent fbaa6d4 commit 0c742f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/rules
Expand Up @@ -4,6 +4,11 @@
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk

ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif

build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
Expand Down

0 comments on commit 0c742f5

Please sign in to comment.