anchor.diff:      %% since we have.proto files that need building
       case protobuffs_is_present() of
           true ->
  -            %% Build a list of output files - { Proto, Beam, Hrl }
  -            Targets = [{Proto, beam_file(Proto), hrl_file(Proto)} ||
  -                          Proto <- ProtoFiles],
  +            %% Build a list of output files - { Proto, Beam, Hrl, Erl }
  +            Targets = [{Proto,
  +                        beam_file(Proto), hrl_file(Proto), erl_file(Proto)} ||
  +                       Proto <- ProtoFiles],
   
               %% Compile each proto file
               compile_each(Config, Targets);
  
positive.code: beam_file(Proto) ->
      filename:basename(Proto, ".proto") ++ "_pb.beam".
  
  hrl_file(Proto) ->
      filename:basename(Proto, ".proto") ++ "_pb.hrl".
  
  
negative.code:             case protobuffs_compile:scan_file(Proto,
                                                [{compile_flags,ErlOpts}]) of
                  ok ->
                      case proplists:get_value(src_out_dir, ProtoOpts) of
                          SrcOutDir ->
                              ok = protobuffs_compile:generate_source(Proto, [{compile_flags,ErlOpts}]),
                              ok = file:make_dir(SrcOutDir),
                              ok = rebar_file_utils:mv(Erl, SrcOutDir)
                      end,
                      %% Compilation worked, but we need to move the
                      %% beam and .hrl file into the ebin/ and include/
                      %% directories respectively
  