mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
42 lines
1.4 KiB
Bash
Executable File
42 lines
1.4 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# This bash script builds the complete pdf2htmlEX application LOCALLY
|
|
# (It does not create the AppImage or Docker images)
|
|
|
|
# Adjust the following two environment variables to suit your needs
|
|
#
|
|
export UNATTENDED="--assume-yes"
|
|
export MAKE_PARALLEL="-j $(nproc)"
|
|
|
|
# choose one of the following...
|
|
#
|
|
export PDF2HTMLEX_BRANCH=newBuildSystem
|
|
# export PDF2HTMLEX_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
|
|
|
|
################
|
|
# do the build
|
|
|
|
./buildScripts/versionEnvs || { echo 'versionEnvs FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/reportEnvs || { echo 'reportEnvs FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/getBuildTools || { echo 'getBuildTools FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/getDevLibraries || { echo 'getDevLibraries FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/getPoppler || { echo 'getPoppler FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/buildPoppler || { echo 'buildPoppler FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/installPoppler || { echo 'installPoppler FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/getFontforge || { echo 'getFontforge FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/buildFontforge || { echo 'buildFontforge FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/installFontforge || { echo 'installFontforge FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/buildPdf2htmlEX || { echo 'buildPdf2htmlEX FAILED' ; exit 1 ; }
|
|
|
|
./buildScripts/installPdf2htmlEX || { echo 'installPdf2htmlEX FAILED' ; exit 1 ; }
|