diff options
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r-- | rules/build-package.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk index e8af273ad0..a7d32ac06b 100644 --- a/rules/build-package.mk +++ b/rules/build-package.mk @@ -154,6 +154,10 @@ $(call haddock,$1,$2) endif # Don't put bootstrapping packages in the bindist +# +# See Note [inconsistent distdirs] in rules/build-package-way.mk for why +# we hard-code dist-install; GHC will use stage2/stage3 here so we +# cannot use the distdir parameter. ifneq "$3" "0" BINDIST_EXTRAS += $1/*.cabal $$(wildcard $1/*.buildinfo) $$(wildcard $1/dist-install/build/*.buildinfo) $1/$2/setup-config $1/LICENSE BINDIST_EXTRAS += $$($1_$2_INSTALL_INCLUDES_SRCS) |