Tweak bindist creation
authorIan Lynagh <igloo@earth.li>
Sat, 16 May 2009 12:55:27 +0000 (12:55 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 16 May 2009 12:55:27 +0000 (12:55 +0000)
libraries built by stage2 need all their bits in the bindist too.
We were testing (stage == 1) rather than (stage /= 0).

rules/build-package.mk

index 9c9e7e2..afe69ac 100644 (file)
@@ -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