diff --git a/ghc/mk/config.mk b/ghc/mk/config.mk index dbc0af6f16345eb5e2e671e5963b2f9b8e62f4b0..899df12bf21b83e0753eee2b9b1a3be8f379d237 100644 --- a/ghc/mk/config.mk +++ b/ghc/mk/config.mk @@ -1,7 +1,9 @@ # # GHC project configuration # -# +# This file can only be included from the top of +# an fptools/ build tree, since the version.mk 'include' +# reaches in and grabs the project-specific settings. # what to include in a binary distribution GhcMainDir = ghc @@ -11,4 +13,4 @@ GhcBinDistPrlScripts = ghc-$(ProjectVersion) stat2resid hstags mkdependHS GhcBinDistLibPrlScripts = hscpp GhcBinDistBins = hp2ps -include version.mk +include $(GhcMainDir)/mk/version.mk