summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9347659..2650806 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ build all:
erl -pa ../lager/ebin -make
clean:
-rm ebin/*.beam
-release:
+release: all
test ! -f rel/db/treesize || \
test $$(cat rel/db/treesize) = 0 && \
rm -rf rel