From: Steve Dower Date: Wed, 7 Jul 2021 18:35:51 +0000 (+0100) Subject: bpo-44479: Simplified LICENSE.txt regeneration in Windows build (GH-27056) X-Git-Tag: v3.10.0b4~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2491c647937fc0871a473c19e3d5cb5392cfca0;p=thirdparty%2FPython%2Fcpython.git bpo-44479: Simplified LICENSE.txt regeneration in Windows build (GH-27056) --- diff --git a/PCbuild/regen.targets b/PCbuild/regen.targets index 7c956c4bc58d..a1de340ab544 100644 --- a/PCbuild/regen.targets +++ b/PCbuild/regen.targets @@ -96,21 +96,21 @@ <_LicenseSources Include="$(tcltkDir)tcllicense.terms; $(tcltkDir)tklicense.terms; $(tcltkDir)tixlicense.terms" Condition="$(IncludeTkinter)" /> - <_LicenseOutputs Include="$(OutDir)LICENSE.txt" /> - - + - <_Text Include="@(_LicenseFiles)"> + <_Text1 Include="@(_LicenseSources)"> $([System.IO.File]::ReadAllText(%(FullPath))) - + + <_Text Include="@(_Text1->'%(Content)')" /> - + + + - - - +