diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2013-10-25 15:00:06 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2013-10-25 15:01:10 +0200 |
commit | 115eb4a8dba371dd155795910dc52c0e33389599 (patch) | |
tree | acc999e973b769eef1d1a5325a34d3a8f923f546 | |
parent | 9026c77a07533bda3773c3c3f3df1c6592bc80c7 (diff) | |
download | haskell-115eb4a8dba371dd155795910dc52c0e33389599.tar.gz |
Clean `.buildinfo` only if `.buildinfo.in` exists
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
-rw-r--r-- | ghc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1220,7 +1220,7 @@ clean_libraries: $(patsubst %,clean_libraries/%_dist-boot,$(PACKAGES_STAGE0)) clean_libraries: $(call removeTrees,$(patsubst %, libraries/%/dist, $(PACKAGES_STAGE1) $(PACKAGES_STAGE2))) - $(call removeFiles,$(wildcard $(patsubst %, libraries/%/*.buildinfo, $(PACKAGES_STAGE1) $(PACKAGES_STAGE2)))) + $(call removeFiles,$(wildcard $(patsubst %.in, %, $(wildcard $(patsubst %, libraries/%/*.buildinfo.in, $(PACKAGES_STAGE1) $(PACKAGES_STAGE2)))))) $(call removeFiles,$(patsubst %, libraries/%/config.log, $(PACKAGES_STAGE1) $(PACKAGES_STAGE2))) $(call removeFiles,$(patsubst %, libraries/%/config.status, $(PACKAGES_STAGE1) $(PACKAGES_STAGE2))) $(call removeFiles,$(wildcard $(patsubst %, libraries/%/include/Hs*Config.h, $(PACKAGES_STAGE1) $(PACKAGES_STAGE2)))) |