]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-75371: reformat Makefile.pre.in to accommodate for empty FRAMEWORKALTINSTALLLAST...
authorMoritz Neeb <nt4u@kpvn.de>
Sat, 22 Jul 2023 15:59:11 +0000 (17:59 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Jul 2023 15:59:11 +0000 (17:59 +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
```

Makefile.pre.in

index a4f76eaaaba52507c353e2f903f9e9da857b2c17..3725feaca66ce3cf891cbf5b018335c3e3bed34d 100644 (file)
@@ -1940,8 +1940,7 @@ altinstall: commoninstall
 .PHONY: commoninstall
 commoninstall:  check-clean-src @FRAMEWORKALTINSTALLFIRST@ \
                altbininstall libinstall inclinstall libainstall \
-               sharedinstall altmaninstall \
-               @FRAMEWORKALTINSTALLLAST@
+               sharedinstall altmaninstall @FRAMEWORKALTINSTALLLAST@
 
 # Install shared libraries enabled by Setup
 DESTDIRS=      $(exec_prefix) $(LIBDIR) $(BINLIBDEST) $(DESTSHARED)