On Sun, 20 Jan 2008, Frank Lichtenheld wrote: > > 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
It's not very nice but works in 99% of the use case that I can imagine. The alternative is to accept those options multiple times: -R/usr/local/bin/make -R-f -Rdebian/rules I didn't find that to be nicer. > (and BTW not documented for the -R option). It's indirectly documented by the fact that one can use a value like the example given ("/usr/local/bin/make -f debian/rules") which contains spaces. If you have something more specific in mind, please feel free to suggest it. > Please do not commit before the upcoming upload, to give > us a chance to think that over. Sure, I didn't plan to commit before anyway. I don't want to introduce bugs at the last minute. :) Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/