Commit 47e00ec4 authored by thomie's avatar thomie

Build system: don't set CLEANING=NO

We only ever check if CLEANING=YES.

[skip ci]
parent 4de8028d
...@@ -100,10 +100,6 @@ else ...@@ -100,10 +100,6 @@ else
$(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestarteditself3timesisthereamakefilebug for details) $(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestarteditself3timesisthereamakefilebug for details)
endif endif
ifneq "$(CLEANING)" "YES"
CLEANING = NO
endif
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Misc GNU make utils # Misc GNU make utils
...@@ -263,15 +259,13 @@ include rules/cmm-objs.mk ...@@ -263,15 +259,13 @@ include rules/cmm-objs.mk
# Suffix rules cause "make clean" to fail on Windows (trac #3233) # Suffix rules cause "make clean" to fail on Windows (trac #3233)
# so we don't make any when cleaning. # so we don't make any when cleaning.
ifneq "$(CLEANING)" "YES" ifneq "$(CLEANING)" "YES"
include rules/hs-suffix-rules-srcdir.mk include rules/hs-suffix-rules-srcdir.mk
include rules/hs-suffix-way-rules-srcdir.mk include rules/hs-suffix-way-rules-srcdir.mk
include rules/hs-suffix-way-rules.mk include rules/hs-suffix-way-rules.mk
include rules/hi-rule.mk include rules/hi-rule.mk
include rules/c-suffix-rules.mk include rules/c-suffix-rules.mk
include rules/cmm-suffix-rules.mk include rules/cmm-suffix-rules.mk
endif
endif # CLEANING=YES
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Building package-data.mk files from .cabal files # Building package-data.mk files from .cabal files
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment