mirror of https://github.com/python/cpython
gh-75371: reformat Makefile.pre.in to accommodate for empty FRAMEWORKALTINSTALLLAST (#107035)
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 ```
This commit is contained in:
parent
6e5f2235f3
commit
9c38206925
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue