No need for BUILD_DOCS on OTP 27 anymore

This commit is contained in:
Wojtek Mach 2024-06-14 12:56:45 +02:00
parent 9b1c898e3a
commit 544ae553bf
2 changed files with 1 additions and 8 deletions

View file

@ -5,8 +5,6 @@ if [ $# -ne 3 ]; then
cat <<EOF
Usage:
build.sh otp_version openssl_version target
Set BUILD_DOCS=1 to build doc chunks.
EOF
exit 1
fi
@ -14,7 +12,6 @@ fi
otp_version=$1
openssl_version=$2
target=$3
build_docs=${BUILD_DOCS:-}
# Common build flags
export MAKEFLAGS=-j8
@ -101,10 +98,6 @@ else
./otp_build boot -a
./otp_build release -a $otp_rel_dir
if [ "$build_docs" = "1" ]; then
make release_docs DOC_TARGETS=chunks RELEASE_ROOT=$otp_rel_dir
fi
cd $otp_rel_dir
./Install -cross -sasl $PWD
)

View file

@ -19,7 +19,7 @@ if [ -d $otp_rel_dir ]; then
echo "$otp_rel_dir already exists"
else
echo "Building macos-aarch64..."
BUILD_DOCS=1 ./build.sh $otp_version $openssl_version macos-aarch64
./build.sh $otp_version $openssl_version macos-aarch64
echo "\nBuilding macos-x86_64..."
./build.sh $otp_version $openssl_version macos-x86_64