title: autotools: avoid shipping source generator
body: <p>In my project i use a source generator. Now for the make dist target i don't want the end user to require the generator, so i decided to add pregenerated source files to the tarball by using </p>
  
  <pre><code>EXTRA_DIST = generated.cc
  </code></pre>
  
  <p>Unfortunately the Makefile in the creates tarball also contains the rule to generate generated.cc</p>
  
  <pre><code>generated.cc : input.txt
            scarygenerator input.txt &gt; $(top_builddir)/generated.cc
  </code></pre>
  
  <p>As input.txt is not part of the tarball this rule is executed and fails.</p>
  
  <p>It it possible that "make dist" omits this rule when generating the Makefile for the tarball?</p>