Avoid scary message from tar if dph isn't in the tree
authorIan Lynagh <igloo@earth.li>
Wed, 3 Nov 2010 21:33:54 +0000 (21:33 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 3 Nov 2010 21:33:54 +0000 (21:33 +0000)
ghc.mk

diff --git a/ghc.mk b/ghc.mk
index 8bef397..0d21dcf 100644 (file)
--- 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