title: How to specify the source dir for debian packaging "debian/rules"
body: <p>I'm using the generated folder structure that <code>dh_make</code> generates.
  Everything is good as long as I mantain this structure:  </p>
  
  <pre><code>./debian/
  ./debian/rules
  ./debian/&lt;rest_of_files&gt;
  ./Makefile
  </code></pre>
  
  <p>When I execute <code>fakeroot debian/rules clean binary</code> it does <code>make clean &amp;&amp; make &amp;&amp; make install DESTDIR=properplace</code> and everything works as my <code>Makefile</code> has those targets.</p>
  
  <p>Now I wanted to move <code>debian/rules</code> to <code>packaging/debian/rules</code> but nothing works.<br>
  I try <code>fakeroot packaging/debian/rules clean binary</code> but that apparently looks for <code>Makefile</code> in <code>./packaging/</code> and not in <code>$CWD</code></p>
  
  <p><strong>EDIT:</strong><br>
  As others stated the build scripts don't like this, as a workaround I do this from the main makefile</p>
  
  <pre><code>package-debian:
  ln -s packaging/debian debian
  fakeroot debian/rules clean binary
  rm debian
  </code></pre>