mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
33 lines
911 B
Bash
Executable File
33 lines
911 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This bash script installs Poppler into the local system
|
|
|
|
echo "WARNING: this will over-write any existing"
|
|
echo "Poppler version you have installed on your system."
|
|
echo "This may break other packages/applications."
|
|
echo ""
|
|
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: "
|
|
|
|
cd poppler/build
|
|
sudo make install
|
|
|
|
cd ..
|
|
|
|
sudo mkdir -p /usr/include/poppler
|
|
sudo cp poppler/*.h /usr/include/poppler
|
|
|
|
sudo mkdir -p /usr/include/poppler/goo
|
|
sudo cp goo/*.h /usr/include/poppler/goo
|
|
|
|
sudo mkdir -p /usr/include/poppler/fofi
|
|
sudo cp fofi/*.h /usr/include/poppler/fofi
|
|
|
|
sudo mkdir -p /usr/include/poppler/splash
|
|
sudo cp splash/*.h /usr/include/poppler/splash
|
|
|
|
sudo cp build/poppler/poppler-config.h \
|
|
/usr/include/poppler
|