title: Makefile.PL: Installing multiple scripts and binaries
body: <p>Given a <code>Makefile.PL</code>, how can I install two binaries and two scripts in four different locations?</p>
  
  <p>To be more precise, the directory structure is as follows:</p>
  
  <ul>
  <li>lib/my_package/main.pl</li>
  <li>bin/daemon/daemon.pl (*)</li>
  <li>bin/plugin/plugin.pl (*)</li>
  <li>scripts/conf/conf.sh (*)</li>
  <li>scripts/init/initd.sh (*)</li>
  <li>Makefile.PL</li>
  </ul>
  
  <p>The files marked with (*) should be installed in the following paths:</p>
  
  <ul>
  <li>/usr/sbin/daemon.pl</li>
  <li>/var/qmail/smtpplugins/plugin.pl</li>
  <li>/usr/local/conf.sh</li>
  <li>/etc/init.d/initd.sh</li>
  </ul>
  
  <p>and the contents of my <code>Makefile.PL</code></p>
  
  <pre><code>use ExtUtils::MakeMaker;
  
  WriteMakefile(
      NAME         =&gt; "my_package",
      VERSION_FROM =&gt; "lib/my_package/main.pl"
  );
  </code></pre>
  
  <p>What do I tell perl through the <code>Makefile.PL</code> to make it install those four files in their corresponding directories?</p>