Build: remove unnecessary CLEANING/=YES check
authorThomas Miedema <thomasmiedema@gmail.com>
Tue, 26 May 2015 19:00:04 +0000 (21:00 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Thu, 4 Jun 2015 21:58:29 +0000 (23:58 +0200)
commitcac68d0d340f93738db79ad867fe3f0eec515075
treeb04b62e2e430bc30204ad31d011685ed6d25512c
parent092082e7583c8170ae41ef8d01a554db34f91bb3
Build: remove unnecessary CLEANING/=YES check

The comment "INPLACE_BIN might be empty if we're distcleaning" is no
longer true, and the check that CLEANING isn't YES isn't necessary.

It was introduced in cd12c32de77ac18a69ed1733a558095567ec5ba8, to
"make repeated 'make distclean' not fail", and and later revised in
39253008705e3ca590afdfa1b87bfbb5a16da7e7. It was needed because
INPLACE_BIN was defined in config.mk.

Commit 6793a033e1ce41f77316675e8f7aa83196a9b211 however, two days
later, introduced a better solution to this problem: "Move the fixed
paths out of config.mk, so cleaning works without configuring"

So here we remove the original comment and check. One less thing to
worry about when trying to understand the build system.

Differential Revision: https://phabricator.haskell.org/D940
rules/build-perl.mk
rules/build-prog.mk