From b4df602953bac9d6dac43ed8bd3a9a4dc5c24a37 Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Tue, 17 Dec 2019 17:24:05 +0000 Subject: [PATCH] continued work on the use of prefix --- buildScripts/buildInstallLocallyApt | 4 ++++ buildScripts/createAppImage | 2 +- buildScripts/createDockerImage | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) 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