1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

tidied build scripts

This commit is contained in:
Stephen Gaito 2019-11-25 16:04:50 +00:00
parent 817db7592a
commit dd3596432b
6 changed files with 13 additions and 6 deletions

View File

@ -16,4 +16,4 @@ do
patch -p 1 < $APATCHFILE
done
make -j `nproc`
make $MAKE_PARALLEL

View File

@ -5,5 +5,5 @@
cd pdf2htmlEX
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
make -j `nproc`
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
make $MAKE_PARALLEL

View File

@ -5,5 +5,5 @@
cd pdf2htmlEX
mkdir build
cd build
CC=clang CXX=clang++ cmake ..
make
CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
make $MAKE_PARALLEL

View File

@ -7,4 +7,4 @@ mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local \
-DENABLE_LIBOPENJPEG=none ..
make -j `nproc`
make $MAKE_PARALLEL

3
buildScripts/travisEnvs Normal file
View File

@ -0,0 +1,3 @@
export MAKE_PARALLEL=-j `nproc`

View File

@ -5,9 +5,13 @@
#export POPPLER_VERSION=poppler-0.82.0
export POPPLER_VERSION=poppler-0.81.0
#export FONTFORGE_VERSION=20190801
export FONTFORGE_VERSION=20170731
export PDF2HTMLEX_VERSION=newBuildSystem
export MACHINE_ARCH=`uname -m`
export DOCKER_FROM=ubuntu:16.04