[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packages with different build dirs than source dirs

On Mon, Jun 16, 2003 at 12:30:45PM -0400, Morgon Kanter wrote:
> Are there any packages that do this? In order to fully build gnu-crypto 
> successfully, I will need to be able to have a seperate build directory 
> than the source directory. I have been having trouble setting this up 
> properly in debian/rules however, and I was wondering if there were 
> any packages that do this that I could use as an example.

So the .c and .h files are in directory "src" but you want the .o and the
binaries in a directory "build"?  Plenty do that, especially anything
that uses more than one database variety.  mnogosearch for example.

I do
 mkdir build-pgsql
 cd build-pgsql
 ../configure .............


  $(MAKE) -C build-pgsql

Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/                <csmall@enc.com.au>
MIEEE <csmall@ieee.org>                 Debian developer <csmall@debian.org>

Reply to: