Separate build directory

From: Manfred Koizar <mkoi-pg(at)aon(dot)at>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Separate build directory
Date: 2003-04-05 14:13:03
Message-ID: nvnt8v0k9kggrarfuhui7sd9b2kj8sdj09@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When I configure and make in a separate build directory tree, I get

createdb.c:15: dumputils.h: No such file or directory
and
print.c:9: common.h: No such file or directory

in src/bin/scripts. I don't know whether the attached change to the
Makefile is the preferred way to fix this, at least it works for me.

BTW, make creates these files in the source tree:
./src/backend/bootstrap/bootparse.c
./src/backend/bootstrap/bootscanner.c
./src/backend/bootstrap/bootstrap_tokens.h
./src/backend/parser/gram.c
./src/backend/parser/parse.h
./src/backend/parser/scan.c
./src/backend/utils/misc/guc-file.c
./src/bin/psql/sql_help.h
./src/interfaces/ecpg/preproc/pgc.c
./src/interfaces/ecpg/preproc/preproc.c
./src/interfaces/ecpg/preproc/preproc.h
./src/pl/plpgsql/src/pl.tab.h
./src/pl/plpgsql/src/pl_gram.c
./src/pl/plpgsql/src/pl_scan.c

Shouldn't they better be created in the build tree?

Servus
Manfred

Attachment Content-Type Size
unknown_filename text/plain 517 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Jon Jensen 2003-04-05 14:23:25 Re: more contrib: log rotator
Previous Message Kurt Roeckx 2003-04-05 12:34:24 Re: Stuff that doesn't work yet in IPv6 patch