2020-06-20 09:11:30 +00:00
|
|
|
#!/bin/sh
|
2019-07-03 15:16:33 +00:00
|
|
|
|
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
|
|
|
|
2020-06-02 11:58:27 +00:00
|
|
|
set -ev
|
|
|
|
|
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
|
|
|
|
|
2020-06-01 11:06:06 +00:00
|
|
|
sudo make install \
|
2020-05-31 18:34:48 +00:00
|
|
|
prefix=$PDF2HTMLEX_PREFIX \
|
2020-06-01 07:49:30 +00:00
|
|
|
datadir=$PDF2HTMLEX_PREFIX/share/pdf2htmlEX
|