diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-02-09 14:59:49 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-02-09 15:03:29 +0100 |
commit | 7561e37103041d6691c70683f910cdb97952483a (patch) | |
tree | 265062d9f2c562547b5a2ff0c6f596821acaab51 /ghc.mk | |
parent | 719108f8d70aa50cdaccf564dbc463445a03988e (diff) | |
download | haskell-7561e37103041d6691c70683f910cdb97952483a.tar.gz |
double-negate test for Stage1Only to fix `make clean`
This was causing `utils/ghctags/dist-install` to not get removed
on `make clean` as `Stage1Only` was unset. So testing for `!= YES` is
less fragile than testing for `== NO` in this case.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -427,7 +427,7 @@ endif # We normally install only the packages down to this point REGULAR_INSTALL_PACKAGES := $(addprefix libraries/,$(PACKAGES_STAGE1)) -ifeq "$(Stage1Only)" "NO" +ifneq "$(Stage1Only)" "YES" REGULAR_INSTALL_PACKAGES += compiler endif REGULAR_INSTALL_PACKAGES += $(addprefix libraries/,$(PACKAGES_STAGE2)) @@ -464,7 +464,7 @@ endif # If we want to just install everything, then we want all the packages SUPERSIZE_INSTALL_PACKAGES := $(addprefix libraries/,$(PACKAGES_STAGE1)) -ifeq "$(Stage1Only)" "NO" +ifneq "$(Stage1Only)" "YES" SUPERSIZE_INSTALL_PACKAGES += compiler endif SUPERSIZE_INSTALL_PACKAGES += $(addprefix libraries/,$(PACKAGES_STAGE2)) @@ -653,7 +653,7 @@ BUILD_DIRS += compiler BUILD_DIRS += utils/hsc2hs BUILD_DIRS += utils/ghc-pkg BUILD_DIRS += utils/testremove -ifeq "$(Stage1Only)" "NO" +ifneq "$(Stage1Only)" "YES" BUILD_DIRS += utils/ghctags endif BUILD_DIRS += utils/dll-split |