<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,14 +3,14 @@ ERL          ?= erl
 EBIN_DIRS    := $(wildcard lib/*/ebin)
 APP          := esmtp
 
-all: erl ebin/$(APP).app
+all: erl ebin/$(APP).app docs
 
 erl: ebin lib
 	@$(ERL) -pa $(EBIN_DIRS) -noinput +B \
 	  -eval 'case make:all() of up_to_date -&gt; halt(0); error -&gt; halt(1) end.'
 
-docs:
-	@erl -noshell -run edoc_run application '$(APP)' '&quot;.&quot;' '[]'
+docs: $(wildcard src/*.erl)
+	@erl -noshell -run edoc_run application '$(APP)' '&quot;.&quot;' &quot;[{def, [{vsn, \&quot;$(VSN)\&quot;}]}]&quot;
 
 clean: 
 	@echo &quot;removing:&quot;</diff>
      <filename>Makefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cf06d9957c3a5b9a8b70278591019427b0190b1a</id>
    </parent>
  </parents>
  <author>
    <name>Geoff Cant</name>
    <email>nem@lisp.geek.nz</email>
  </author>
  <url>http://github.com/archaelus/esmtp/commit/291bcec5243339e9eedec6dc0b684d78859366b4</url>
  <id>291bcec5243339e9eedec6dc0b684d78859366b4</id>
  <committed-date>2009-04-01T19:17:58-07:00</committed-date>
  <authored-date>2009-04-01T19:17:58-07:00</authored-date>
  <message>Fixing doc generation make target.</message>
  <tree>939c51a56e8532cb4905f5ad51665e8ba1870de2</tree>
  <committer>
    <name>Geoff Cant</name>
    <email>nem@lisp.geek.nz</email>
  </committer>
</commit>
