pdf2htmlEX/buildScripts/installPdf2htmlEX

33 lines
710 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
2019-07-03 15:16:33 +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
echo "This installation assumes you have 'sudo' privileges"
2019-11-22 12:08:20 +00:00
echo ""
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
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
sudo make install \
2020-05-31 18:34:48 +00:00
prefix=$PDF2HTMLEX_PREFIX \
datadir=$PDF2HTMLEX_PREFIX/share/pdf2htmlEX