projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
list: New functions list_is_singleton(), list_is_short().
[openvswitch]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index bbc7357e54ddec9a09a94a95a1e2eb9068aa027c..6806980156eb53f28775524f47027bad91750815 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-14,9
+14,11
@@
BUILD_NUMBER = 0
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
BUILD_NUMBER = 0
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-MAKEFLAGS += -j$(NUMJOBS)
+PARALLEL = -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+else
+PARALLEL =
endif
endif
+MAKEFLAGS += $(PARALLEL)
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
@@
-45,7
+47,8
@@
build-arch: build-arch-stamp
build-arch-stamp: configure-stamp
$(MAKE) -C _debian
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
build-arch-stamp: configure-stamp
$(MAKE) -C _debian
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- if $(MAKE) -C _debian check; then :; else \
+ if $(MAKE) -C _debian check TESTSUITEFLAGS='$(PARALLEL)'; then :; \
+ else \
cat _debian/tests/testsuite.log; \
exit 1; \
fi
cat _debian/tests/testsuite.log; \
exit 1; \
fi
@@
-98,7
+101,7
@@
binary-common:
dh_installexamples
dh_installdebconf
dh_installlogrotate
dh_installexamples
dh_installdebconf
dh_installlogrotate
- dh_installinit
+ dh_installinit
-R
dh_installcron
dh_installman
dh_link
dh_installcron
dh_installman
dh_link