aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 24bd6a9..1d9bfd7 100644
--- a/Makefile
+++ b/Makefile
@@ -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: