mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
58 lines
1.2 KiB
Bash
Executable File
58 lines
1.2 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
# This shell 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="<<YourTagHereWithNoSpaces>>"
|
|
export PDF2HTMLEX_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
|
|
|
|
# The following environment variable determines where the poppler,
|
|
# poppler-data, fontforge and pdf2htmlEX packages are installed.
|
|
# CHANGE IT TO SUIT YOUR NEEDS:
|
|
#
|
|
export PDF2HTMLEX_PREFIX=/usr/local
|
|
|
|
# Ensure all Apt packages are installed with no user interaction
|
|
#
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
set -ev
|
|
|
|
################
|
|
# do the build
|
|
|
|
./buildScripts/versionEnvs
|
|
|
|
./buildScripts/reportEnvs
|
|
|
|
./buildScripts/getBuildToolsApt
|
|
|
|
./buildScripts/getDevLibrariesApt
|
|
|
|
./buildScripts/getPoppler
|
|
|
|
./buildScripts/buildPoppler
|
|
|
|
./buildScripts/getFontforge
|
|
|
|
./buildScripts/buildFontforge
|
|
|
|
./buildScripts/buildPdf2htmlEX
|
|
|
|
./buildScripts/installPdf2htmlEX
|
|
|
|
#./buildScripts/createAppImage
|
|
|
|
#./buildScripts/createDockerUbuntuImageFromDeb
|
|
|
|
#./buildScripts/uploadGitHubRelease
|
|
|
|
#./buildScripts/uploadDockerImage
|