title: Run configure, make, make install from another directory
body: <p>Having an Ansible problem where I cannot change directories outside of /tmp and I have a folder in temp where I need to run configure, make and make install <strong><em>just like</em></strong> I was in the folder.</p>
  
  <p>Some questions:</p>
  
  <ul>
  <li>When I run configure outside the folder, the Makefile appears in my CWD. How do I get around this?</li>
  <li>Is make -C ./directory/ the way to go for making?</li>
  </ul>
  
  <p>Any ideas on how to accomplish these commands just like I was in the folder itself?</p>