RESOLVED WONTFIX 16619
[GTK] Autotools shoud default to WebKitBuild as the build directory
https://bugs.webkit.org/show_bug.cgi?id=16619
Summary [GTK] Autotools shoud default to WebKitBuild as the build directory
Jan Alonzo
Reported 2007-12-27 00:16:45 PST
Autotools should default to WebKitBuild as the default build directory. This should avoid littering the source dir with object files and other build artifacts.
Attachments
Sylvain Pasche
Comment 1 2008-01-04 21:59:12 PST
Usually the build directory is the current directory you are in when invoking configure or autogen.sh. I looked at a few autogen.sh scripts, and they always use the current working directory as the objdir. However, there could be a higher level script which would create the WebKitBuild directory, and launch autogen.sh or configure from there. But I'm not sure this brings a lot of added value. We could rather correct the build documentation to use this WebKitBuild directory (once bug 16736 is fixed): Instead of ./autogen.sh --prefix=/path/to/install/directory make There would be: mkdir WebKitBuild cd WebKitBuild ../autogen.sh --prefix=/path/to/install/directory make
Alp Toker
Comment 2 2008-01-21 03:17:08 PST
I would say this is a characteristic of autotools. The correct way to avoid littering the source tree, as you pointed out yourself, is to build outside of the source tree. Please re-open the bug if you disagree.
Note You need to log in before you can comment on or make changes to this bug.