aboutsummaryrefslogtreecommitdiffstats
path: root/test/plugin_shell.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-12-24 16:51:18 +0100
committerLoïc Hoguin <[email protected]>2015-12-24 16:51:18 +0100
commit51e1c5bc128a61831d03e585a8903f4621fcf2d6 (patch)
tree6ee24f8decd1a8314d262a6cbb49b14783198bf4 /test/plugin_shell.mk
parente41632002d35049e37e318c649cf8439938c3f0d (diff)
downloaderlang.mk-51e1c5bc128a61831d03e585a8903f4621fcf2d6.tar.gz
erlang.mk-51e1c5bc128a61831d03e585a8903f4621fcf2d6.tar.bz2
erlang.mk-51e1c5bc128a61831d03e585a8903f4621fcf2d6.zip
Simplify cleaning in the test suite
Not only simpler but also faster, especially on Windows.
Diffstat (limited to 'test/plugin_shell.mk')
-rw-r--r--test/plugin_shell.mk12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/plugin_shell.mk b/test/plugin_shell.mk
index 945ecb3..3db7bba 100644
--- a/test/plugin_shell.mk
+++ b/test/plugin_shell.mk
@@ -2,18 +2,12 @@
SHELL_CASES = default kjell
SHELL_TARGETS = $(addprefix shell-,$(SHELL_CASES))
-SHELL_CLEAN_TARGETS = $(addprefix clean-,$(SHELL_TARGETS))
-.PHONY: shell $(C_SRC_TARGETS) clean-shell $(SHELL_CLEAN_TARGETS)
-
-clean-shell: $(SHELL_CLEAN_TARGETS)
-
-$(SHELL_CLEAN_TARGETS):
- $t rm -rf $(APP_TO_CLEAN)
+.PHONY: shell $(C_SRC_TARGETS)
shell: $(SHELL_TARGETS)
-shell-default: build clean-shell-default
+shell-default: build clean
$i "Bootstrap a new OTP library named $(APP)"
$t mkdir $(APP)/
@@ -23,7 +17,7 @@ shell-default: build clean-shell-default
$i "Run the shell"
$t $(MAKE) -C $(APP) shell SHELL_OPTS="-eval 'halt()'" $v
-shell-kjell: build clean-shell-kjell
+shell-kjell: build clean
$i "Bootstrap a new OTP library named $(APP)"
$t mkdir $(APP)/