Enable copying manpages from documentation folder to package_layout_dir for consumption by package_tool and ultimately inclusion in the debian package
This commit is contained in:
parent
2f51091785
commit
7b89cceed5
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,7 @@ PACKAGE_LAYOUT_DIR="$OUTPUT_DIR/deb_intermediate"
|
||||||
PACKAGE_OUTPUT_DIR="$OUTPUT_DIR/packages/debian"
|
PACKAGE_OUTPUT_DIR="$OUTPUT_DIR/packages/debian"
|
||||||
TEST_STAGE_DIR="$PACKAGE_OUTPUT_DIR/test"
|
TEST_STAGE_DIR="$PACKAGE_OUTPUT_DIR/test"
|
||||||
REPO_BINARIES_DIR="$REPOROOT/artifacts/ubuntu.14.04-x64/stage2"
|
REPO_BINARIES_DIR="$REPOROOT/artifacts/ubuntu.14.04-x64/stage2"
|
||||||
|
MANPAGE_DIR="$REPOROOT/Documentation/manpages"
|
||||||
|
|
||||||
execute_build(){
|
execute_build(){
|
||||||
create_empty_debian_layout
|
create_empty_debian_layout
|
||||||
|
@ -61,6 +62,9 @@ copy_files_to_debian_layout(){
|
||||||
|
|
||||||
# Copy config file
|
# Copy config file
|
||||||
cp "$PACKAGING_ROOT/debian_config.json" "$PACKAGE_LAYOUT_DIR"
|
cp "$PACKAGING_ROOT/debian_config.json" "$PACKAGE_LAYOUT_DIR"
|
||||||
|
|
||||||
|
# Copy Manpages
|
||||||
|
cp -a "$MANPAGE_DIR/." "$PACKAGE_LAYOUT_DIR/docs"
|
||||||
}
|
}
|
||||||
|
|
||||||
create_debian_package(){
|
create_debian_package(){
|
||||||
|
|
Loading…
Reference in a new issue