From 17bd9ff74ab9d5c4ff545d7cec3a6d014590f822 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 3 Nov 2010 21:33:54 +0000 Subject: [PATCH] Avoid scary message from tar if dph isn't in the tree --- ghc.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ghc.mk b/ghc.mk index 8bef397..0d21dcf 100644 --- a/ghc.mk +++ b/ghc.mk @@ -1016,10 +1016,10 @@ $(eval $(call bindist,.,\ bindist.mk \ libraries/gen_contents_index \ libraries/prologue.txt \ - libraries/dph/LICENSE \ - libraries/dph/ghc-packages \ - libraries/dph/ghc-packages2 \ - libraries/dph/ghc-stage2-package \ + $(wildcard libraries/dph/LICENSE \ + libraries/dph/ghc-packages \ + libraries/dph/ghc-packages2 \ + libraries/dph/ghc-stage2-package) \ )) endif # mk/project.mk gets an absolute path, so we manually include it in -- 1.7.10.4