Skip to content

Commit

Permalink
specify {includes, _} so @headerfile works correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum authored and daleharvey committed Aug 19, 2010
1 parent 3d984ba commit 7008c5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/erldocs.erl
Expand Up @@ -121,7 +121,8 @@ ensure_docsrc(AppDir, Conf) ->


gen_docsrc(AppDir) -> gen_docsrc(AppDir) ->


Files = [ try ok = docb_gen:module(File), Includes = filelib:wildcard(AppDir ++ "/include"),
Files = [ try ok = docb_gen:module(File, [{includes, Includes}]),
AppDir ++ "/doc/src/" ++ bname(File, ".erl") ++ ".xml" AppDir ++ "/doc/src/" ++ bname(File, ".erl") ++ ".xml"
catch catch
_:_ -> ignore _:_ -> ignore
Expand Down

0 comments on commit 7008c5f

Please sign in to comment.