mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-17 18:15:09 +00:00
06c6f9a971
That way we can always ensure that the right compiler flags are being used if there is an issue.
18 lines
597 B
Bash
Executable File
18 lines
597 B
Bash
Executable File
#!/bin/bash
|
|
# The manual references this file.
|
|
cd $(dirname $0)/..
|
|
set -ex
|
|
sudo apt-get update
|
|
sudo apt-get -y install \
|
|
autoconf build-essential cmake zlib1g-dev libjpeg-dev \
|
|
python3-pip texlive-latex-extra latexmk
|
|
pip3 install sphinx sphinx_rtd_theme
|
|
cmake -S . -B build -DBUILD_DOC=1
|
|
cmake --build build --verbose --target doc_dist
|
|
zip -r doc.zip build/manual/doc-dist
|
|
version=$(grep -E '^release' manual/conf.py | cut -d"'" -f 2)
|
|
mv build/manual/doc-dist qpdf-${version}-doc
|
|
mkdir distribution
|
|
zip -r distribution/qpdf-${version}-doc-ci.zip qpdf-${version}-doc
|
|
sha256sum distribution/*
|