anchor.diff:  -spec internal_erl_compile(rebar_config:config(), file:filename(),
       file:filename(), list()) -> ok | {ok, any()} | {error, any(), any()}.
   internal_erl_compile(Config, Source, OutDir, ErlOpts) ->
  -    TargetDir = filename:dirname(target_base(OutDir, Source)),
  -    ok = filelib:ensure_dir(TargetDir),
  -    Opts = [{outdir, TargetDir}] ++ ErlOpts ++ [{i, "include"}, return],
  +    ok = filelib:ensure_dir(OutDir),
  +    Opts = [{outdir, OutDir}] ++ ErlOpts ++ [{i, "include"}, return],
       case compile:file(Source, Opts) of
           {ok, _Mod} ->
               ok;
  
positive.code:         Target = target_base(OutDir, Source) ++ ".beam",
          digraph:vertex(G, Source) > {Source, filelib:last_modified(Target)}
      end, SourceFiles).
  
  erlcinfo_file() ->
      filename:join([rebar_utils:get_cwd(), ".rebar", ?ERLCINFO_FILE]).
  
negative.code:         {error, Es, Ws} ->
              rebar_base_compiler:error_tuple(Config, Source, Es, Ws, Opts)
      end.
  
  -spec compile_mib(file:filename(), file:filename(),
                    rebar_config:config()) -> 'ok'.
  