summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules4
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 437826d..00d798c 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Homepage: http://www.gnu.org/software/hurd/microkernel/mach/gnumach.html
Vcs-Browser: http://git.debian.org/?p=pkg-hurd/gnumach.git
Vcs-Git: git://git.debian.org/pkg-hurd/gnumach.git
Build-Depends: debhelper (>= 7), mig, sharutils,
- autoconf, automake, cdbs
+ autoconf, automake
Standards-Version: 3.9.2
Package: gnumach
diff --git a/debian/rules b/debian/rules
index c6df7cf..193adc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,7 +41,9 @@ else
CFLAGS += -O2
endif
-include /usr/share/cdbs/1/class/langcore.mk
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+DEB_PARALLEL_JOBS ?= $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+endif
ifneq (,$(DEB_PARALLEL_JOBS))
MAKEFLAGS += -j$(DEB_PARALLEL_JOBS)