Permalink
Browse files

r15256: better makefile rules for building documentation

  • Loading branch information...
1 parent 4bbeacf commit 5f3b2909f8ec7cffd4fd9f35ad617b283e01cf08 Richard Carlsson committed Oct 22, 2008
Showing with 5 additions and 4 deletions.
  1. +5 −4 Makefile
View
@@ -37,10 +37,11 @@ conf_clean:
test: conf compile
cd test/src&& $(MAKE)
-docs: $(SRC_FILES)
- erl -noshell -run edoc_run files \
- ["'src/sgte.erl', 'src/sgte_parse.erl', 'src/sgte_render.erl', 'src/sgte_gettext.erl', 'src/sgte_dict.erl'"] \
- '[{dir,"$(DOCDIR)"}]' -s init stop
+docs: $(DOCDIR)/index.html
+
+$(DOCDIR)/index.html: $(SRC_FILES)
+ erl -noshell -run edoc_run application "sgte" '"."' '[]'
+
tags: src/*.erl
cd src/ && $(TAG_CMD) $(TAG_FLAGS) $(TAG_FILES)

0 comments on commit 5f3b290

Please sign in to comment.