diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-05-26 21:00:04 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-06-04 23:58:29 +0200 |
commit | cac68d0d340f93738db79ad867fe3f0eec515075 (patch) | |
tree | b04b62e2e430bc30204ad31d011685ed6d25512c /rules/build-prog.mk | |
parent | 092082e7583c8170ae41ef8d01a554db34f91bb3 (diff) | |
download | haskell-cac68d0d340f93738db79ad867fe3f0eec515075.tar.gz |
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
Diffstat (limited to 'rules/build-prog.mk')
-rw-r--r-- | rules/build-prog.mk | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk index 10d31c5205..3e9bc89e29 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -287,13 +287,10 @@ endif endif endif -# INPLACE_BIN might be empty if we're distcleaning -ifneq "$$(CLEANING)" "YES" ifeq "$$($1_$2_INSTALL_INPLACE)" "YES" $$($1_$2_INPLACE) : $1/$2/build/tmp/$$($1_$2_PROG_INPLACE) | $$$$(dir $$$$@)/. $$(INSTALL) -m 755 $$< $$@ endif -endif endif # BINDIST=YES |