mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +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
|