anchor.diff:      true = code:del_path(Ebin),
       Top = top(Dir, code:lib_dir(diameter)),
   
  -    %% Create a new diameter/include in priv_dir, copy all includes
  -    %% there: first the installed includes, then any we find in
  -    %% ../include and ../src/gen.
  +    %% Create a new diameter/include in priv_dir. Copy all includes
  +    %% there, from below ../include and ../src/gen if they exist (in
  +    %% the repo).
       Tmp = filename:join([PrivDir, "diameter"]),
       TmpInc = filename:join([PrivDir, "diameter", "include"]),
       TmpEbin = filename:join([PrivDir, "diameter", "ebin"]),
  
positive.code:             throw({compile, No})
      end.
  
  opts(M)
    when M == "rfc4006_cc";
         M == "rfc4072_eap" ->
      [inherits("rfc4005_nas")];
  opts("rfc4740_sip") ->
      [inherits("rfc4590_digest")];
  opts(_) ->
      [].
  
  inherits(File) ->
      {Name, _} = make_name(File),
  
negative.code: install(PrivDir) ->
      Top = install(here(), PrivDir),
      Src = filename:join([Top, "examples", "code"]),
      Files = find_files([Src], ".*\\.erl"),
      [] = [{F,E} || {_,F} <- Files,
                     {error, _, _} = E <- [compile:file(F, [warnings_as_errors,
                                                            return_errors])]].
  
  