mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 07:12:28 +00:00
Convert build-doc to cmake
This commit is contained in:
parent
1b85faa61a
commit
2515498c36
@ -11,8 +11,8 @@ https://github.com/qpdf/qpdf/releases
|
|||||||
Offline documentation contains the following:
|
Offline documentation contains the following:
|
||||||
|
|
||||||
* PDF: qpdf-manual.pdf
|
* PDF: qpdf-manual.pdf
|
||||||
* HTML: html/index.html
|
* HTML: manual-html/index.html
|
||||||
* SINGLE-PAGE HTML: singlehtml/index.html
|
* SINGLE-PAGE HTML: manual-single-page-html/index.html
|
||||||
|
|
||||||
If you are reading this file from the source distribution, you can
|
If you are reading this file from the source distribution, you can
|
||||||
find the documentation sources in the "manual" directory. There is
|
find the documentation sources in the "manual" directory. There is
|
||||||
|
@ -4,14 +4,14 @@ cd $(dirname $0)/..
|
|||||||
set -ex
|
set -ex
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install \
|
sudo apt-get -y install \
|
||||||
autoconf build-essential zlib1g-dev libjpeg-dev \
|
autoconf build-essential cmake zlib1g-dev libjpeg-dev \
|
||||||
python3-pip texlive-latex-extra latexmk
|
python3-pip texlive-latex-extra latexmk
|
||||||
pip3 install sphinx sphinx_rtd_theme
|
pip3 install sphinx sphinx_rtd_theme
|
||||||
./configure --enable-doc-maintenance
|
cmake -S . -B build -DBUILD_DOC=1
|
||||||
make -j$(nproc) doc-dist DOC_DEST=doc
|
cmake --build build --target doc_dist
|
||||||
zip -r doc.zip doc
|
zip -r doc.zip build/manual/doc-dist
|
||||||
version=$(egrep '^release' manual/conf.py | cut -d"'" -f 2)
|
version=$(egrep '^release' manual/conf.py | cut -d"'" -f 2)
|
||||||
mv doc qpdf-${version}-doc
|
mv build/manual/doc-dist qpdf-${version}-doc
|
||||||
mkdir distribution
|
mkdir distribution
|
||||||
zip -r distribution/qpdf-${version}-doc.zip qpdf-${version}-doc
|
zip -r distribution/qpdf-${version}-doc-ci.zip qpdf-${version}-doc
|
||||||
sha256sum distribution/*
|
sha256sum distribution/*
|
||||||
|
Loading…
Reference in New Issue
Block a user