diff options
author | Ian Lynagh <igloo@earth.li> | 2009-05-16 12:12:48 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-05-16 12:12:48 +0000 |
commit | 6793a033e1ce41f77316675e8f7aa83196a9b211 (patch) | |
tree | 685f6403353d2f64dad69c38b4d1f81b0210cfe2 /rules | |
parent | 89296ce322b0e67c511841d50eab7977d80376cb (diff) | |
download | haskell-6793a033e1ce41f77316675e8f7aa83196a9b211.tar.gz |
Move the fixed paths out of config.mk, so cleaning works without configuring
Diffstat (limited to 'rules')
-rw-r--r-- | rules/build-prog.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk index 8397f3fb73..4bfc1e11fa 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -24,9 +24,11 @@ define build-prog # $2 = distdir # $3 = GHC stage to use (0 == bootstrapping compiler) +ifneq "$$(CLEANING)" "YES" ifeq "$$($1_$2_PROG)" "" $$(error $1_$2_PROG is not set) endif +endif ifeq "$$(findstring $3,0 1 2)" "" $$(error $1/$2: stage argument to build-prog should be 0, 1, or 2) |