title: How to run multiple commands with an extra target in QMake
body: <p>I am making extra targets using <code>qmake</code>, and I'm trying to do two things at the same time: make a new folder, and copy a dll into that folder. Both action separate work fine, but the two together don't work. </p>
  
  <pre><code>something.target = this
  
  # This works:
  # something.commands =   mkdir newFolder
  # This works too (if newFolder exists)
  # something.commands =   copy /Y someFolder\\file.dll newFolder
  
  # This doesn't work:
  something.commands = mkdir newFolder; \
                       copy /Y someFolder\\file.dll newFolder
  
  QMAKE_EXTRA_TARGETS += something
  PRE_TARGETDEPS += this
  </code></pre>
  
  <p>I thought this was the right syntax (I found similar examples for example <a href="https://stackoverflow.com/questions/3776476/how-to-add-custom-targets-in-a-qmake-generated-makefile">here</a> and <a href="http://dev.modmancer.com/index.php/2010/11/14/qmake-building-dependencies/" rel="noreferrer">here</a>), but I am getting the following error:</p>
  
  <pre><code>&gt; mkdir newFolder; copy /Y someFolder\\file.dll newFolder
  &gt; The syntax of the command is incorrect.
  </code></pre>
  
  <p>Is the syntax different on different platforms or something? I'm working on Windows 7, with Qt 5.0.1.</p>