GNOME Bugzilla – Bug 769482
autotools: Make the Run button work when builddir != srcdir
Last modified: 2016-08-03 19:28:53 UTC
I verified that this patch works, but it may not be the cleanest way to accomplish it.
Created attachment 332646 [details] [review] autotools: Make the Run button work when builddir != srcdir To make the Run button work, Builder looks in a project's directory for a Makefile, which doesn't work when the build directory differs from the source code directory, such as when you're building in ~/.cache/.... This commit makes Builder look for Makefiles in the build directory, as determined by an IdeAutotoolsBuilder instance. It should be okay not to check for Makefile.am files since this code is only used for autotools projects.
Review of attachment 332646 [details] [review]: Nice work, looks good
Pushed as commit 095985e0d05932ec93b6f1c065527a77727380f8