title: Multiple sources with % substition in makefile
body: <p>I want to create a rule for each existing file <code>*.html</code>.  In order to create a simple html from each html file.</p>
  
  <pre><code> #Makefile
   destination=dynamic/
   mysite: $(destination)%.html
  
   $(destination)%.html: source/%.html
            #exemple
            sed -e 's/&lt;h1&gt;/&lt;h2&gt;/' $&lt; &gt; $@
  </code></pre>
  
  <p>But I get the error :</p>
  
  <pre><code> make:  *** No rule to target dynamic/%.html needed by `site'.  Stop.
  </code></pre>
  
  <p>I would like to make mysite rule depend upon each of the files in the dynamic directory.  And to re-make each of the files in dynamic directory each time the corresponding source file is modified.</p>
  
  <p>Is it possible?</p>
  
  <p>Thank for your help.</p>