[PATCH] make_makefiles: Allow running from a separate worktree.