diff --git a/buildScripts/buildInstallLocallyApt b/buildScripts/buildInstallLocallyApt index 75b45bd..72aeced 100755 --- a/buildScripts/buildInstallLocallyApt +++ b/buildScripts/buildInstallLocallyApt @@ -13,6 +13,10 @@ export MAKE_PARALLEL="-j $(nproc)" export PDF2HTMLEX_BRANCH=update-poppler # 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 ################ diff --git a/buildScripts/createAppImage b/buildScripts/createAppImage index 796567a..77c5b25 100755 --- a/buildScripts/createAppImage +++ b/buildScripts/createAppImage @@ -27,7 +27,7 @@ make install DESTDIR=../../imageBuild/appDir cd ../../poppler-data -make install DESTDIR=../../imageBuild/appDir +make install prefix=$PDF2HTMLEX_PREFIX DESTDIR=../../imageBuild/appDir cd ../imageBuild diff --git a/buildScripts/createDockerImage b/buildScripts/createDockerImage index a075492..9858825 100755 --- a/buildScripts/createDockerImage +++ b/buildScripts/createDockerImage @@ -50,7 +50,7 @@ echo "export DOCKER_NAME=\"$DOCKER_NAME\"" >> buildScripts/reSourceVersi cd ../../poppler-data - make install DESTDIR=../../imageBuild/dockerDir + make install prefix=$PDF2HTMLEX_PREFIX DESTDIR=../../imageBuild/dockerDir cd ../imageBuild/dockerDir