[Build-common-hackers] Improving documentation

Robert Millan zeratul2@wanadoo.es
Sun, 16 Nov 2003 15:05:29 +0100


On Sun, Nov 16, 2003 at 02:52:41PM +0100, Marc Haber wrote:
> (3)
> Another package suffers from a sick upstream file layout, and so I'd
> need to invoke make in ./foo/src instead of in . what cdbs seems to
> do. I now could throw a ./Makefile into my package which in turns
> invokes make in ./foo/src, but that kind of negates the positive
> effects cdbs could have.
> 
> How am I supposed to handle this with cdbs?

You should be able to override it with:

DEB_BUILDDIR := ./foo/src

(look at makefile-vars.mk)

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T, Ainulindale (Silmarillion)