2019-07-03 15:16:33 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-11-29 09:11:32 +00:00
|
|
|
echo ""
|
|
|
|
echo "-------------------------------------------------------------------"
|
|
|
|
echo "INSTALLING pdf2htmlEX locally"
|
|
|
|
echo " (UNATTENDED: [$UNATTENDED])"
|
|
|
|
echo "-------------------------------------------------------------------"
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
|
2019-11-22 12:08:20 +00:00
|
|
|
if [ -z "$UNATTENDED" ] ; then
|
2019-09-30 10:05:33 +00:00
|
|
|
|
|
|
|
echo "This installation assumes you have 'sudo' privileges"
|
2019-11-22 12:08:20 +00:00
|
|
|
echo ""
|
2019-09-30 10:05:33 +00:00
|
|
|
echo "Type ctrl-c now if DO NOT want to continue"
|
|
|
|
read -p "Type anything else to continue: "
|
|
|
|
|
|
|
|
fi
|
2019-07-03 15:16:33 +00:00
|
|
|
|
2019-11-21 18:43:26 +00:00
|
|
|
cd pdf2htmlEX/build
|
|
|
|
|
2019-07-03 15:16:33 +00:00
|
|
|
sudo make install
|
2020-05-31 18:34:48 +00:00
|
|
|
|
|
|
|
## NEED to install poppler-data!!!
|
|
|
|
#
|
|
|
|
cd ../../poppler-data
|
|
|
|
|
|
|
|
make install \
|
|
|
|
prefix=$PDF2HTMLEX_PREFIX \
|
|
|
|
datadir=$PDF2HTMLEX_PREFIX/share/pdf2htmlEX \
|
|
|
|
DESTDIR=../imageBuild/appDir
|