On Mon, Sep 03, 2007 at 12:28:05PM +0200, Robert Millan wrote:
> Attached patch adds support for parallel builds (dpkg-buildpackage -j N).
> 
> It is based on the one from bug #355654.

I like the general idea. But why do you use $makecommand? Wouldn't
"debian/rules $makeoptions build" work just as well?

>  if [ x$sourceonly = x ]; then
> -     withecho debian/rules build 
> -     withecho $rootcommand debian/rules $binarytarget
> +     withecho $makecommand -f debian/rules build 
> +     withecho $rootcommand $makecommand -f debian/rules $binarytarget
>  fi
>  if [ "$usepause" = "true" ] && \
>     ( [ "$signchanges" != ":" ] || ( [ -z "$binaryonly" ] && [ "$signsource" 
> != ":" ] ) ) ; then
> @@ -281,7 +284,7 @@
>  fi
>  
>  if $cleansource; then
> -     withecho $rootcommand debian/rules clean
> +     withecho $rootcommand $makecommand -f debian/rules clean
>  fi
>  
>  echo "dpkg-buildpackage: $srcmsg"

Gruesse,
-- 
Frank Lichtenheld <[EMAIL PROTECTED]>
www: http://www.djpig.de/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to