summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-07-27 09:10:12 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-07-27 09:10:12 +0000
commit3d602770cf2fcb025e56859bafda136159d92db1 (patch)
treebf9a7a082d267c9b634fc00a1bb740f51b965d5d /rules/build-package.mk
parent8022ffa5981a27c53cb907a8bfc84032d2c13342 (diff)
downloadhaskell-3d602770cf2fcb025e56859bafda136159d92db1.tar.gz
buildinfo files need a $$(wildcard)
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index e80baa0e11..1c15c6fa13 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -150,7 +150,7 @@ endif # package-data.mk exists
# Don't put bootstrapping packages in the bindist
ifneq "$3" "0"
-BINDIST_EXTRAS += $1/*.cabal $1/*.buildinfo $1/$2/setup-config $1/LICENSE
+BINDIST_EXTRAS += $1/*.cabal $$(wildcard $1/*.buildinfo) $1/$2/setup-config $1/LICENSE
BINDIST_EXTRAS += $$($1_$2_INSTALL_INCLUDES_SRCS)
endif