diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-06-05 23:22:35 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-06-05 23:22:35 +0000 |
commit | b2d3060c8cb8853615830dd3fcba324397fa1850 (patch) | |
tree | bf6a9b6dc0224252144a90058c9f3d569407676a | |
parent | 7f0cfe119b203fb105817a275bda6be0caefb846 (diff) | |
download | tor-b2d3060c8cb8853615830dd3fcba324397fa1850.tar.gz tor-b2d3060c8cb8853615830dd3fcba324397fa1850.zip |
Support passing of parallel=<n> in build options
svn:r14984
-rw-r--r-- | debian/changelog | 3 | ||||
-rwxr-xr-x | debian/rules | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index ddab2165f0..10077ffbaf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,8 +10,9 @@ tor (0.2.0.27-rc-X) Xxperimental; urgency=low * And mention www.tp.o instead of the old tor.eff.org in the long description. * No longer ignore failure of make clean in the clean target. + * Support passing of parallel=<n> in build options. - -- Peter Palfrader <weasel@debian.org> Fri, 06 Jun 2008 00:52:58 +0200 + -- Peter Palfrader <weasel@debian.org> Fri, 06 Jun 2008 00:58:37 +0200 tor (0.2.0.26-rc-1) experimental; urgency=critical diff --git a/debian/rules b/debian/rules index 739d489f90..6a82de1572 100755 --- a/debian/rules +++ b/debian/rules @@ -48,6 +48,12 @@ ifneq (,$(findstring notest,$(DEB_BUILD_OPTIONS))) RUN_TEST = no endif +# Support passing of parallel=<n> in build options +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif + CONF_OPTIONS = # build against libdmalloc4 - it better be installed ifneq (,$(findstring with-dmalloc,$(DEB_BUILD_OPTIONS))) |