diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-08-04 12:06:49 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-08-05 09:21:49 +0100 |
commit | 043d70f080c214a4c80c0654a15e3016250ba1fa (patch) | |
tree | 4a07b32991e1b2f9ac2a65cba85c5c3942493ed2 /boot | |
parent | 78e6b615329dd8ea4527b499107048693c87f895 (diff) | |
download | haskell-043d70f080c214a4c80c0654a15e3016250ba1fa.tar.gz |
sanitise naming of package lists
The *predicates* all start with "PKGS_THAT_...", e.g.:
PKGS_THAT_BUILD_WITH_STAGE0 (previously "PACKAGES_STAGE0")
PKGS_THAT_BUILD_WITH_STAGE2 (previously "STAGE2_PACKAGES")
PKGS_THAT_USE_TH (previously "TH_PACKAGES)
etc. (there are a few more)
the lists of packages to build are now consistently named:
PACKAGES_STAGE0
PACKAGES_STAGE1 (previously just "PACKAGES")
PACKAGES_STAGE2
Diffstat (limited to 'boot')
-rwxr-xr-x | boot | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -174,8 +174,8 @@ sub boot_pkgs { or die "Opening $package/ghc.mk failed: $!"; print GHCMK "${package}_PACKAGE = ${pkg}\n"; print GHCMK "${package}_dist-install_GROUP = libraries\n"; - print GHCMK "\$(if \$(filter ${dir},\$(PACKAGES_STAGE0)),\$(eval \$(call build-package,${package},dist-boot,0)))\n"; - print GHCMK "\$(eval \$(call build-package,${package},dist-install,\$(if \$(filter ${dir},\$(STAGE2_PACKAGES)),2,1)))\n"; + print GHCMK "\$(if \$(filter ${dir},\$(PKGS_THAT_BUILD_WITH_STAGE0)),\$(eval \$(call build-package,${package},dist-boot,0)))\n"; + print GHCMK "\$(eval \$(call build-package,${package},dist-install,\$(if \$(filter ${dir},\$(PKGS_THAT_BUILD_WITH_STAGE2)),2,1)))\n"; close GHCMK or die "Closing $package/ghc.mk failed: $!"; |