[commit: ghc] master: Clean `.buildinfo` only if `.buildinfo.in` exists (115eb4a)
git at git.haskell.org
git at git.haskell.org
Fri Oct 25 13:01:34 UTC 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/115eb4a8dba371dd155795910dc52c0e33389599/ghc
>---------------------------------------------------------------
commit 115eb4a8dba371dd155795910dc52c0e33389599
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Fri Oct 25 15:00:06 2013 +0200
Clean `.buildinfo` only if `.buildinfo.in` exists
Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
>---------------------------------------------------------------
115eb4a8dba371dd155795910dc52c0e33389599
ghc.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ghc.mk b/ghc.mk
index 891aaf6..dd91a82 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -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))))
More information about the ghc-commits
mailing list