Browse Source

Use erl -eval instead of rebar for generating edoc documentation

Loïc Hoguin 12 years ago
parent
commit
4395c1b59d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -20,7 +20,7 @@ clean:
 	rm -f erl_crash.dump
 
 docs: clean-docs
-	@$(REBAR) doc skip_deps=true
+	erl -noshell -eval 'edoc:application(cowboy, ".", []), init:stop().'
 
 clean-docs:
 	rm -f doc/*.css