From bc2d53d2a5e865ce36a0419c4d4698b30359415b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 13 Apr 2012 12:29:13 +0200 Subject: Add a clean-docs target to the Makefile --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Makefile') 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: -- cgit v1.2.3