Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

r15256: better makefile rules for building documentation

  • Loading branch information...
commit 5f3b2909f8ec7cffd4fd9f35ad617b283e01cf08 1 parent 4bbeacf
Richard Carlsson authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 Makefile
View
9 Makefile
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.