mirror of
https://github.com/boostorg/mysql.git
synced 2025-05-12 06:01:42 +00:00
43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2019-2025 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)
|
|
#
|
|
|
|
set -e
|
|
GLOBIGNORE=".:.."
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Install dependencies. rsync is needed by the GitHub action to upload the pages
|
|
apt-get update
|
|
apt-get install --no-install-recommends -y \
|
|
doxygen \
|
|
xsltproc \
|
|
wget \
|
|
ca-certificates \
|
|
g++ \
|
|
python3 \
|
|
python-is-python3 \
|
|
python3-jinja2 \
|
|
rsync \
|
|
git \
|
|
unzip
|
|
|
|
# Install docbook XSL stylesheets
|
|
mkdir -p $DOCBOOK_XSL_DIR
|
|
cd $DOCBOOK_XSL_DIR
|
|
wget -q https://github.com/docbook/xslt10-stylesheets/releases/download/snapshot%2F2020-06-03/docbook-xsl-snapshot.zip
|
|
unzip -o -qq docbook-xsl-snapshot.zip
|
|
mv docbook-xsl-snapshot/* .
|
|
rmdir docbook-xsl-snapshot
|
|
rm docbook-xsl-snapshot.zip
|
|
|
|
# Install docbook DTD
|
|
mkdir -p $DOCBOOK_DTD_DIR
|
|
cd $DOCBOOK_DTD_DIR
|
|
wget -q http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
|
|
unzip -o -qq docbook-xml-4.2.zip
|
|
rm docbook-xml-4.2.zip
|