Skip to content

Commit bc2d53d

Browse files
author
Loïc Hoguin
committed
Add a clean-docs target to the Makefile
1 parent 1219837 commit bc2d53d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Makefile

+9-3
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,20 @@ deps:
1515
app: deps
1616
@$(REBAR) compile
1717

18-
docs:
19-
@$(REBAR) doc skip_deps=true
20-
2118
clean:
2219
@$(REBAR) clean
2320
rm -f test/*.beam
2421
rm -f erl_crash.dump
2522

23+
docs: clean-docs
24+
@$(REBAR) doc skip_deps=true
25+
26+
clean-docs:
27+
rm -f doc/*.css
28+
rm -f doc/*.html
29+
rm -f doc/*.png
30+
rm -f doc/edoc-info
31+
2632
# Tests.
2733

2834
deps/proper:

0 commit comments

Comments
 (0)