2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-16 01:22:20 +00:00
Files
mysql/tools/build_docs.sh
Ruben Perez 1ad31e7a6b TLS cert validation, valid() after moves and others
- Added connection::connection overload accepting a user-defined SSL
context.
- Added SSL certificate validation example.
- Removed ssl_options.
- Fixed an incorrect constexpr implementation
(value::is_convertible_to).
- Made I/O objects' valid() behavior after move operations more uniform.
- Changed exception type thrown by value::get to a custom one defined in
Boost.Mysql.
- Changed docs link in README.

closes #39
closes #27
closes #25
closes #10
2021-03-07 19:41:44 +01:00

44 lines
1.3 KiB
Bash

#!/bin/bash
#
# Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
MYSQL_LIB_DIR=$(pwd)
BUILD_DIR=$HOME/build
# Install doxygen and xsltproc
sudo apt install -y doxygen xsltproc
# Install saxonhe
cd /tmp
wget -q -O saxonhe.zip https://sourceforge.net/projects/saxon/files/Saxon-HE/9.9/SaxonHE9-9-1-4J.zip/download
unzip -o saxonhe.zip
sudo rm -rf /usr/share/java/Saxon-HE.jar
sudo cp saxon9he.jar /usr/share/java/Saxon-HE.jar
# Get Boost
mkdir -p $BUILD_DIR
cd $BUILD_DIR
git clone https://github.com/boostorg/boost.git boost-root --depth 1
cd boost-root
export BOOST_ROOT=$(pwd)
# Initialize Boost
git submodule update --init libs/context
git submodule update --init tools/boostbook
git submodule update --init tools/boostdep
git submodule update --init tools/docca
git submodule update --init tools/quickbook
ln -s $MYSQL_LIB_DIR $BOOST_ROOT/libs/mysql
cp $MYSQL_LIB_DIR/tools/user-config.jam $HOME/
python tools/boostdep/depinst/depinst.py ../tools/quickbook
./bootstrap.sh
# Build the docs
./b2 -j4 libs/mysql/doc//boostrelease
# Copy the resulting docs to a well-known location
cp -r libs/mysql/doc/html $MYSQL_LIB_DIR/build-docs