Friends,<div><br></div><div><div>The attached patch implements parallel building of the debian packages using the -j parameter to make.</div><div>Predictably this gives package building a serious speed boost on an 8 way xeon with solid state drives :)</div>

<div><br></div><div>To make things even simpler, I&#39;ve pushed a branch debian-packaging to git://<a href="http://git.resare.com/kamailio" target="_blank">git.resare.com/kamailio</a> that you can pull from and merge with master using the following commands:</div>

<div><br></div><div>git remote add resare git://<a href="http://git.resare.com/kamailio" target="_blank">git.resare.com/kamailio</a></div><div>git fetch resare</div><div>&lt;check out the resare/debian-packaging branch, inspect&gt;</div>
<div>&lt;merge it into master&gt;</div><div><br></div><div>A note on the patch:</div><div><br></div><div>- I&#39;ve replaced the DEB_BUILD_OPTIONS:=&quot;$(DEB_BUILD_OPTIONS) nostrip&quot; (which puts literal quote characters in the make variable with a construct using the += operator.</div>
<div><br></div><div>-It passes the basic test of building packages without failing with the DEB_BUILD_OPTIONS environment variable set to parallel=8 as well as unset on squeeze and lenny.</div><div><br></div><div>/noa</div>
<div>
 <br>-- <br>Everything is secret.<br>
</div></div>