mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-09-08 01:47:02 +00:00
33 lines
710 B
Bash
Executable File
33 lines
710 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo ""
|
|
echo "-------------------------------------------------------------------"
|
|
echo "INSTALLING pdf2htmlEX locally"
|
|
echo " (UNATTENDED: [$UNATTENDED])"
|
|
echo "-------------------------------------------------------------------"
|
|
echo ""
|
|
|
|
|
|
if [ -z "$UNATTENDED" ] ; then
|
|
|
|
echo "This installation assumes you have 'sudo' privileges"
|
|
echo ""
|
|
echo "Type ctrl-c now if DO NOT want to continue"
|
|
read -p "Type anything else to continue: "
|
|
|
|
fi
|
|
|
|
set -ev
|
|
|
|
cd pdf2htmlEX/build
|
|
|
|
sudo make install
|
|
|
|
## NEED to install poppler-data!!!
|
|
#
|
|
cd ../../poppler-data
|
|
|
|
sudo make install \
|
|
prefix=$PDF2HTMLEX_PREFIX \
|
|
datadir=$PDF2HTMLEX_PREFIX/share/pdf2htmlEX
|