Skip to content
This repository has been archived by the owner on Dec 27, 2020. It is now read-only.

Fix: put docs also in build/bundles with CMake sources #33

Merged
merged 1 commit into from
Apr 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions release-docs/files/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ mv docs/source ${BASENAME}-docs
mv docs/aidocs ${BASENAME}-docs-ai
mv docs/gamedocs ${BASENAME}-docs-gs

# To be consistent with other docker, put the result in the build folder
# when CMake is used.
if [ -e "CMakeLists.txt" ]; then
mkdir -p build
cd build
fi

mkdir -p bundles
tar --xz -cf bundles/${BASENAME}-docs.tar.xz ${BASENAME}-docs
tar --xz -cf bundles/${BASENAME}-docs-ai.tar.xz ${BASENAME}-docs-ai
Expand Down