aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-04-13 12:29:13 +0200
committerLoïc Hoguin <[email protected]>2012-04-13 12:29:13 +0200
commitbc2d53d2a5e865ce36a0419c4d4698b30359415b (patch)
tree03565cc8a0c516daa3dc47ee248a07ea76f99736 /Makefile
parent1219837e91728a8820f341e1eadf0dcfe3b014c3 (diff)
downloadcowboy-bc2d53d2a5e865ce36a0419c4d4698b30359415b.tar.gz
cowboy-bc2d53d2a5e865ce36a0419c4d4698b30359415b.tar.bz2
cowboy-bc2d53d2a5e865ce36a0419c4d4698b30359415b.zip
Add a clean-docs target to the Makefile
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: