version the manpages before packing them for the sdk deb package

update

Update

fix
This commit is contained in:
Bryan Thornbury 2016-04-01 13:41:31 -07:00
parent 813049dabe
commit 7de3b95bbd
2 changed files with 4 additions and 4 deletions

View file

@ -31,9 +31,5 @@
"debian_dependencies":{
"clang-3.5" : {},
"%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%" : {}
},
"symlinks": {
"bin/dotnet-compile-native" : "/usr/bin/dotnet-compile-native"
}
}

View file

@ -171,6 +171,10 @@ copy_files_to_debian_layout(){
# Copy Manpages
cp -a "$MANPAGE_DIR/sdk/." "$PACKAGE_LAYOUT_DIR/docs"
# Append Version to all manpage files
for manpage in "$PACKAGE_LAYOUT_DIR/docs/"*.1; do mv "$manpage" "${manpage%.1}"; done
for manpage in "$PACKAGE_LAYOUT_DIR/docs/"*; do mv "$manpage" "${manpage}-${DOTNET_CLI_VERSION}.1"; done
}
create_debian_package(){