<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>16619</bug_id>
          
          <creation_ts>2007-12-27 00:16:45 -0800</creation_ts>
          <short_desc>[GTK] Autotools shoud default to WebKitBuild as the build directory</short_desc>
          <delta_ts>2008-01-21 03:17:08 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>16736</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jan Alonzo">jmalonzo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alp</cc>
    
    <cc>sylvain.pasche</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65347</commentid>
    <comment_count>0</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2007-12-27 00:16:45 -0800</bug_when>
    <thetext>Autotools should default to WebKitBuild as the default build directory. This should avoid littering the source dir with object files and other build artifacts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66254</commentid>
    <comment_count>1</comment_count>
    <who name="Sylvain Pasche">sylvain.pasche</who>
    <bug_when>2008-01-04 21:59:12 -0800</bug_when>
    <thetext>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&apos;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
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67836</commentid>
    <comment_count>2</comment_count>
    <who name="Alp Toker">alp</who>
    <bug_when>2008-01-21 03:17:08 -0800</bug_when>
    <thetext>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.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>