]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-75371: reformat Makefile.pre.in to accommodate for empty FRAMEWORKALTINSTAL...
authorŁukasz Langa <lukasz@langa.pl>
Sun, 23 Jul 2023 09:29:13 +0000 (09:29 +0000)
committerGitHub <noreply@github.com>
Sun, 23 Jul 2023 09:29:13 +0000 (11:29 +0200)
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@kpvn.de>
Makefile.pre.in

index 3948184ad8ea3d9c0b14cac28f3fe21c5c28d774..2a407a7df697e058fdf86a3fb40abb1e84abef2f 100644 (file)
@@ -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)