mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-10-05 19:41:40 +00:00
24 lines
465 B
Bash
24 lines
465 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# This bash script clones and builds the specified poppler release
|
||
|
|
||
|
# See: https://github.com/pdf2htmlEX/buildAndPackagingTools/blob/master/building/awsEC2/scripts/dobuildPoppler
|
||
|
|
||
|
# Clone and build poppler
|
||
|
git clone ${POPPLER_SOURCE}
|
||
|
|
||
|
cd poppler
|
||
|
|
||
|
git checkout tags/${POPPLER_RELEASE} -b poppler-local
|
||
|
|
||
|
mkdir build
|
||
|
|
||
|
cd build
|
||
|
|
||
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DENABLE_XPDF_HEADERS=ON -DENABLE_LIBOPENJPEG=none ..
|
||
|
|
||
|
make
|
||
|
|
||
|
|