summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-11-03 13:50:05 +0100
committerLinus Nordberg <linus@nordberg.se>2014-11-03 13:50:27 +0100
commitf7939d1a4cf928440c5db3443283d4f149d30936 (patch)
treef70e3ee8b438348c4cd7244b58f501a838b789ae
parent9b76f88058b30b490dc99ffaa211d92b94a095bf (diff)
Make 'release' depend on 'all'.
-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