From 018fec02a8736043e3a41dd4e9a3c4a932dfc3dc Mon Sep 17 00:00:00 2001 From: Thomas Miedema Date: Thu, 28 May 2015 19:26:44 +0200 Subject: Build system: also clean the inplace wrapper Running `make clean` inside `utils/runghc` now does: "rm" -rf utils/runghc/dist-install "rm" -rf inplace/bin/runghc "rm" -rf inplace/lib/bin/runghc Instead of just: "rm" -rf utils/runghc/dist-install "rm" -rf inplace/lib/bin/runghc I think this was just an oversight. [skip ci] Differential Revision: https://phabricator.haskell.org/D919 --- rules/shell-wrapper.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rules/shell-wrapper.mk') diff --git a/rules/shell-wrapper.mk b/rules/shell-wrapper.mk index dac90169cb..f5d91e35b7 100644 --- a/rules/shell-wrapper.mk +++ b/rules/shell-wrapper.mk @@ -33,6 +33,8 @@ endif all_$1_$2 : $$($1_$2_INPLACE_WRAPPER) +$(call clean-target,$1,$2_inplace_wrapper,$$($1_$2_INPLACE_WRAPPER)) + $$($1_$2_INPLACE_WRAPPER): WRAPPER=$$@ ifeq "$$($1_$2_SHELL_WRAPPER)" "YES" $$($1_$2_INPLACE_WRAPPER): $$($1_$2_SHELL_WRAPPER_NAME) -- cgit v1.2.1