[Python-checkins] [3.11] gh-75371: reformat Makefile.pre.in to accommodate for empty FRAMEWORKALTINSTALLLAST (GH-107035) (#107050)
ambv
webhook-mailer at python.org
Sun Jul 23 05:29:16 EDT 2023
https://github.com/python/cpython/commit/5a7456623fc63a6a4af58eaba5c6ab91cf9109e0
commit: 5a7456623fc63a6a4af58eaba5c6ab91cf9109e0
branch: 3.11
author: Łukasz Langa <lukasz at langa.pl>
committer: ambv <lukasz at langa.pl>
date: 2023-07-23T11:29:13+02:00
summary:
[3.11] gh-75371: reformat Makefile.pre.in to accommodate for empty FRAMEWORKALTINSTALLLAST (GH-107035) (#107050)
in the case of an empty FRAMEWORKALTINSTALLLAST, this patch prevents leaving
an astray linebreak and two tabs in the resulting Makefile.
Before change:
```
.PHONY: commoninstall
commoninstall: check-clean-src \
altbininstall libinstall inclinstall libainstall \
sharedinstall altmaninstall \
```
After change (with empty FRAMEWORKALTINSTALLLAST):
```
.PHONY: commoninstall
commoninstall: check-clean-src \
altbininstall libinstall inclinstall libainstall \
sharedinstall altmaninstall
```
(cherry picked from commit 9c38206925246ab919cf558ac069ae9458720ba7)
Co-authored-by: Moritz Neeb <nt4u at kpvn.de>
files:
M Makefile.pre.in
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 3948184ad8ea3..2a407a7df697e 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1764,8 +1764,7 @@ altinstall: commoninstall
commoninstall: check-clean-src @FRAMEWORKALTINSTALLFIRST@ \
altbininstall libinstall inclinstall libainstall \
- sharedinstall oldsharedinstall altmaninstall \
- @FRAMEWORKALTINSTALLLAST@
+ sharedinstall oldsharedinstall altmaninstall @FRAMEWORKALTINSTALLLAST@
# Install shared libraries enabled by Setup
DESTDIRS= $(exec_prefix) $(LIBDIR) $(BINLIBDEST) $(DESTSHARED)
More information about the Python-checkins
mailing list