title: Debian - how to build in separate directory?
body: <p>I want to distribute a specialized GCC on debian.  Since GCC requires that it be built in a separate directory from the source directory, where neither is a subdirectory of the other (AFAIK), the standard debian/rules file won't work, as it puts build directory as a subdirectory of the source directory.  I took a look at debian's GCC rules file, and it's hugely overcomplicated for my needs.</p>
  
  <p>So my question:  How do you get debhelper to use a source and build directory inside of the package directory?  By default, package_dir==src_dir.  How can I get this layout:</p>
  
  <pre><code>package/
     src/
        configure, ...
     build/
        libgcc/, ... 
     debian/
        control, ...
  </code></pre>