Skip to content

Commit

Permalink
Add a clean-docs target to the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Hoguin committed Apr 13, 2012
1 parent 1219837 commit bc2d53d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Makefile
Expand Up @@ -15,14 +15,20 @@ deps:
app: deps
@$(REBAR) compile

docs:
@$(REBAR) doc skip_deps=true

clean:
@$(REBAR) clean
rm -f test/*.beam
rm -f erl_crash.dump

docs: clean-docs
@$(REBAR) doc skip_deps=true

clean-docs:
rm -f doc/*.css
rm -f doc/*.html
rm -f doc/*.png
rm -f doc/edoc-info

# Tests.

deps/proper:
Expand Down

0 comments on commit bc2d53d

Please sign in to comment.