One More Thing
One More Thing
От:
"Adam H. Pendleton" <fmonkey@fmonkey.net>
Дата:
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
От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
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.