Stephen Frost escribió:

> I hope this isn't anything particularly special because I feel like I've
> been doing it forever, but..
> 
> ==# cvs -z3 co pgsql
> ==# mkdir pgsql.build
> ==# cd pgsql.build
> ==# ../pgsql/configure --my-args-here
> ==# make
> ...
> 
> Keeps all the build files and everything in pgsql.build and leaves the
> pgsql directory pristine..  I've pretty much always done things this way
> so I guess I just assumed it was common.  Maybe it's not what you're
> looking for though.

This doesn't fully work because some files are created in the source
directory even when building outside (e.g. src/backend/parser/scan.c)

(I work like this all the time too, except that I keep my trees in
.../pgsql/source/00head and they build to .../pgsql/build/00head)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to