Copy manifests to deb and rpm
This commit is contained in:
parent
f33c24c6e4
commit
177dd73ea9
2 changed files with 19 additions and 1 deletions
|
@ -86,6 +86,7 @@
|
|||
<CLISdkFiles Include="$(CLISdkRoot)**/*" />
|
||||
<TemplatesFiles Include="$(TemplatesRoot)**/*" />
|
||||
<SdkDebManPageFiles Include="$(ManpagesDirectory)/**/*" />
|
||||
<ManifestFiles Include="$(RedistLayoutPath)sdk-manifests/**/*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Output Directories -->
|
||||
|
@ -230,7 +231,7 @@
|
|||
Condition=" '$(IsDebianBaseDistro)' == 'True' AND '$(DebuildPresent)' == 'true' "
|
||||
DependsOnTargets="PrepareDotnetDebDirectories;
|
||||
GetAspNetSharedFxInstallArgs;"
|
||||
Inputs="@(CLISdkFiles);@(TemplatesFiles)"
|
||||
Inputs="@(CLISdkFiles);@(TemplatesFiles);@(ManifestFiles)"
|
||||
Outputs="$(SdkDebInstallerFile)" >
|
||||
<!-- Install Shared Framework Packages -->
|
||||
<Exec Command="sudo dpkg -i $(DownloadedNetCoreAppHostPackInstallerFile)" />
|
||||
|
@ -259,6 +260,14 @@
|
|||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False" />
|
||||
|
||||
<!-- Create layout: Workload Manifests -->
|
||||
<Copy
|
||||
DestinationFiles="@(ManifestFiles->'$(LayoutPackageRootDir)/sdk-manifests/%(RecursiveDir)%(Filename)%(Extension)')"
|
||||
SourceFiles="@(ManifestFiles)"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False" />
|
||||
|
||||
<!-- Create layout: Man Pages -->
|
||||
<Copy
|
||||
DestinationFiles="@(SdkDebManPageFiles->'$(LayoutDocsDir)/%(RecursiveDir)%(Filename)-$(Version)%(Extension)')"
|
||||
|
|
|
@ -34,12 +34,14 @@
|
|||
<MakeDir Directories="$(RpmLayoutSDK)"/>
|
||||
<MakeDir Directories="$(RpmLayoutDocs)"/>
|
||||
<MakeDir Directories="$(RpmLayoutTemplates)"/>
|
||||
<MakeDir Directories="$(RpmLayoutManifestFiles)"/>
|
||||
<MakeDir Directories="$(RpmLayoutScripts)"/>
|
||||
|
||||
<!-- Copy files to rpm layout -->
|
||||
<ItemGroup>
|
||||
<SDKFiles Include="$(InputRoot)/**/*"/>
|
||||
<DotnetNewTemplatesFiles Include="$(DotnetNewTemplatesRoot)**/*" />
|
||||
<SDKManifestFiles Include="$(RedistLayoutPath)sdk-manifests/**/*" />
|
||||
<SDKManpages Include="$(ManPagesDir)/**/*"/>
|
||||
<SDKTemplatesFiles Include="$(TemplatesDir)/**/*"/>
|
||||
<SDKScriptsFiles Include="$(ScriptsDir)/after_remove_host.sh"/>
|
||||
|
@ -57,6 +59,12 @@
|
|||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False"/>
|
||||
|
||||
<Copy SourceFiles="@(SDKManifestFiles)"
|
||||
DestinationFiles="@(SDKManifestFiles->'$(RpmLayoutManifestFiles)/%(RecursiveDir)%(Filename)%(Extension)')"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False"/>
|
||||
|
||||
<Copy SourceFiles="@(SDKManpages)"
|
||||
DestinationFiles="@(SDKManpages->'$(RpmLayoutDocs)/%(RecursiveDir)%(Filename)%(Extension)')"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
|
@ -198,6 +206,7 @@
|
|||
<RpmLayoutPackageRoot>$(RpmLayoutDirectory)package_root</RpmLayoutPackageRoot>
|
||||
<RpmLayoutSDK>$(RpmLayoutPackageRoot)/sdk</RpmLayoutSDK>
|
||||
<RpmLayoutDotnetNewTemplates>$(RpmLayoutPackageRoot)/templates</RpmLayoutDotnetNewTemplates>
|
||||
<RpmLayoutManifestFiles>$(RpmLayoutPackageRoot)/sdk-manifests</RpmLayoutManifestFiles>
|
||||
<RpmLayoutDocs>$(RpmLayoutDirectory)docs</RpmLayoutDocs> <!-- Man Pages -->
|
||||
<RpmLayoutTemplates>$(RpmLayoutDirectory)templates</RpmLayoutTemplates> <!-- Copyright, Changelog -->
|
||||
<RpmLayoutScripts>$(RpmLayoutDirectory)scripts</RpmLayoutScripts>
|
||||
|
|
Loading…
Reference in a new issue