Thread: One More Thing

One More Thing

From
"Adam H. Pendleton"
Date:
Because all the directories can be overridden on the configure
command-line, and there is no guaratnee that even the relative directory
structure will stay the same, I suggest that we pass the necessary
directories to pgadmin3 using CPPFLAGS and the -D directive.  Something
like -DDATA_DIR would work.  This would allow the use of the DATA_DIR
preproccessor definition within the C++ code.

ahp


Re: One More Thing

From
"Dave Page"
Date:
It's rumoured that Adam H. Pendleton once said:
> Because all the directories can be overridden on the configure
> command-line, and there is no guaratnee that even the relative
> directory  structure will stay the same, I suggest that we pass the
> necessary  directories to pgadmin3 using CPPFLAGS and the -D directive.
>  Something  like -DDATA_DIR would work.  This would allow the use of
> the DATA_DIR  preproccessor definition within the C++ code.

Yup, sounds sensible. Perhaps we should also include some command line
switches for manual override incase someone moves things post-build.
Regards, Dave.