From: Ian Lynagh Date: Sat, 16 May 2009 12:55:27 +0000 (+0000) Subject: Tweak bindist creation X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7f65bf79c5b53006cda40fe02b6d8f6ca5351d38;hp=6793a033e1ce41f77316675e8f7aa83196a9b211;p=ghc-hetmet.git Tweak bindist creation libraries built by stage2 need all their bits in the bindist too. We were testing (stage == 1) rather than (stage /= 0). --- diff --git a/rules/build-package.mk b/rules/build-package.mk index 9c9e7e2..afe69ac 100644 --- a/rules/build-package.mk +++ b/rules/build-package.mk @@ -145,7 +145,7 @@ $(call haddock,$1,$2) endif # package-data.mk exists # Don't put bootstrapping packages in the bindist -ifeq "$3" "1" +ifneq "$3" "0" BINDIST_EXTRAS += $1/*.cabal $1/$2/setup-config $1/LICENSE BINDIST_EXTRAS += $$($1_$2_INSTALL_INCLUDES_SRCS) endif