X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Ftree.mk;h=34bfcde763cf3765dd7514270d444b1e527db3db;hb=cabb1ad4f8c7e48694ff17fbedd94e9bcf86d565;hp=9fb305f347fb99779eccfd9e6df25f82bb1bd677;hpb=abd0df2e11c3ba15a141de16f1d982c63113a3fe;p=ghc-hetmet.git diff --git a/mk/tree.mk b/mk/tree.mk index 9fb305f..34bfcde 100644 --- a/mk/tree.mk +++ b/mk/tree.mk @@ -23,7 +23,6 @@ GHC_RTS_DIR = rts GHC_DRIVER_DIR = driver GHC_COMPAT_DIR = compat -GHC_MKDEPENDC_DIR = $(GHC_UTILS_DIR)/mkdependC GHC_LTX_DIR = $(GHC_UTILS_DIR)/ltx GHC_LNDIR_DIR = $(GHC_UTILS_DIR)/lndir GHC_MKDIRHIER_DIR = $(GHC_UTILS_DIR)/mkdirhier @@ -51,6 +50,13 @@ INPLACE_PERL = $(INPLACE)/perl # These are here, rather than in config.mk, as they need to exist in an # unconfigured tree so that the various clean targets can be used # without configuring: +ifeq "$(ONLY_SHOW_CLEANS)" "YES" +RM = utils/testremove/wouldrm +RM_OPTS = CLEAN_FILES +RM_OPTS_REC = CLEAN_REC +else RM = rm RM_OPTS = -f +RM_OPTS_REC = -rf +endif