Bug#355654: dpkg-buildpackage to be able to override /usr/bin/make -f in debian/rules

2008-01-20 Thread Raphael Hertzog
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/





Bug#114774: dpkg-checkbuilddeps: patch for new features

2008-01-20 Thread Raphael Hertzog
On Sun, 20 Jan 2008, Frank Lichtenheld wrote:
 On Sat, Jan 19, 2008 at 11:07:20PM +0100, Raphael Hertzog wrote:
  Though I think that -d and -c can be interesting, so I wrote a new patch
  to support them (it's attached). I'll apply it for dpkg 1.14.17.
 
 You really should add a option to set Build-Depends-Indep then, too.

-d replaces Build-Depends and Build-Depends-Indep at the same time. Same
for -c and Build-Conflicts/Build-Conflits-Indep.

That's why the manual page refers to build dependencies and build
conflicts and not the precise field names.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/