mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 03:18:59 +00:00
18 lines
543 B
Plaintext
18 lines
543 B
Plaintext
|
#!/bin/bash
|
||
|
# The manual references this file.
|
||
|
cd $(dirname $0)/..
|
||
|
set -ex
|
||
|
sudo apt-get update
|
||
|
sudo apt-get -y install \
|
||
|
autoconf build-essential zlib1g-dev libjpeg-dev \
|
||
|
python3-pip texlive-latex-extra latexmk
|
||
|
pip3 install sphinx sphinx_rtd_theme
|
||
|
./configure --enable-doc-maintenance
|
||
|
make -j$(nproc) doc-dist DOC_DEST=doc
|
||
|
zip -r doc.zip doc
|
||
|
version=$(egrep '^release' manual/conf.py | cut -d"'" -f 2)
|
||
|
mv doc qpdf-${version}-doc
|
||
|
mkdir distribution
|
||
|
zip -r distribution/qpdf-${version}-doc.zip qpdf-${version}-doc
|
||
|
sha256sum distribution/*
|