mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 12:40:08 +00:00
corrected build scripts to reflect those on virtual machine
This commit is contained in:
parent
5a1a090a5e
commit
0eecbed932
@ -1,3 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This bash script build FontForge
|
||||
|
||||
cd fontforge
|
||||
./bootstrap
|
||||
./configure
|
||||
|
@ -1,3 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This bash script builds pdf2htmlEX
|
||||
|
||||
cd pdf2html
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
|
@ -1,3 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This bash script builds pdf2htmlEX using Clang (if it is installed)
|
||||
|
||||
cd pdf2htmlEX
|
||||
mkdir build
|
||||
cd build
|
||||
CC=clang CXX=clang++ cmake ..
|
||||
|
@ -1 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This bash script clean all pdf2htmlEX build products
|
||||
|
||||
|
||||
cd pdf2htmlEX
|
||||
rm -rf build pdf2htmlEX.1 share/*.css share/*.js share/*.min.* src/pdf2htmlEX-config.h src/util/css_const.h
|
||||
|
@ -10,10 +10,13 @@ sudo apt $UNATTENDED install \
|
||||
git \
|
||||
pkg-config \
|
||||
ruby \
|
||||
autoconf \
|
||||
libtool \
|
||||
cmake \
|
||||
make \
|
||||
gcc \
|
||||
g++ \
|
||||
gettext \
|
||||
openjdk-8-jre-headless \
|
||||
tree
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
source buildScripts/versionEnvs
|
||||
|
||||
FONTFORGE_SRC=fontforge-$FONTFORGE_VERSION.tar.gz
|
||||
FONTFORGE_SRC=$FONTFORGE_VERSION.tar.gz
|
||||
|
||||
rm -rf $FONTFORGE_SRC
|
||||
rm -rf fontforge
|
||||
@ -14,3 +14,9 @@ wget https://github.com/fontforge/fontforge/archive/$FONTFORGE_SRC
|
||||
tar xvf $FONTFORGE_SRC
|
||||
|
||||
mv fontforge-$FONTFORGE_VERSION fontforge
|
||||
|
||||
# FIX required for fontforge 20170731 raw sources
|
||||
#
|
||||
cd fontforge
|
||||
#
|
||||
patch -p 1 < ../patches/fontforge-20170731-fixGDraw.patch
|
||||
|
@ -8,5 +8,6 @@ if [[ $# -eq 0 ]] ; then
|
||||
|
||||
fi
|
||||
|
||||
cd build
|
||||
cd pdf2htmlEX/build
|
||||
|
||||
sudo make install
|
||||
|
Loading…
Reference in New Issue
Block a user