aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-19 18:04:31 +0300
committerLoïc Hoguin <[email protected]>2015-05-19 18:04:31 +0300
commit0cdac548f4d9c05ecb2ca2ebfdfec8a491813e91 (patch)
tree99df4987bfc0d90364899b6a54b5889b948f1681 /test/Makefile
parent94f223220e1c32fe6f1051a263451d00d8331ddb (diff)
downloaderlang.mk-0cdac548f4d9c05ecb2ca2ebfdfec8a491813e91.tar.gz
erlang.mk-0cdac548f4d9c05ecb2ca2ebfdfec8a491813e91.tar.bz2
erlang.mk-0cdac548f4d9c05ecb2ca2ebfdfec8a491813e91.zip
Import rebar_utils for improved compatibility
This allows us to skip some of the worst hacks and improve compatibility since we are using the original code.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index a77b307..8df6e8b 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -8,6 +8,11 @@
V ?= 0
+# Temporary files directory.
+
+ERLANG_MK_TMP=$(CURDIR)/tmp
+export ERLANG_MK_TMP
+
# t = Verbosity control for tests
# v = Verbosity control for erlang.mk
# i = Command to display (or suppress) info messages
@@ -43,7 +48,7 @@ all: clean app ct eunit tests-cover docs pkgs
$i '+---------------------+'
clean:
- $t rm -rf app1
+ $t rm -rf app1 $(ERLANG_MK_TMP)
app: app1
$i "app: Testing the 'app' target."