From: Ian Lynagh Date: Wed, 3 Nov 2010 21:33:54 +0000 (+0000) Subject: Avoid scary message from tar if dph isn't in the tree X-Git-Tag: 2010-11-18~41 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=17bd9ff74ab9d5c4ff545d7cec3a6d014590f822;p=ghc-hetmet.git Avoid scary message from tar if dph isn't in the tree --- 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