On Sat, Jan 19, 2008 at 10:00:37PM +0100, Raphael Hertzog wrote: > On Tue, 07 Mar 2006, Davor Ocelic wrote: > > A simple patch to allow this behavior is attached. It adds the -M > > option which should be used like say: > > > > dpkg-buildpackage -M'/usr/local/bin/make -f' > > I didn't like this intermediary command. What you really wanted to do is > not use "debian/rules" as build command but a custom command that is > "/usr/local/bin/make -f debian/rules".
That is indeed better than the original proposal, IMHO. > On Sun, 26 Aug 2007, Robert Millan wrote: > > I'm attaching an updated version of Davor's patch (against 1.14.5). > > Note that this allows to do very useful things such as: > > dpkg-buildpackage -B -rfakeroot -M"make -j `getconf _NPROCESSORS_ONLN` -f" > > We have the -j command now, so it's much less useful. Still I have created > another patch that implements what I explained above: it offers a -R > option to replace "debian/rules" by whatever you want. > > (the other patches were meant for the old shell version of > dpkg-buildpackage anyway) > > Frank, any comments or is it safe to commit? Hrm, the whole split(/\s+/) is somewhat ugly (and BTW not documented for the -R option). Please do not commit before the upcoming upload, to give us a chance to think that over. 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]

