1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-04 17:18:40 +00:00
pdf2htmlEX/buildScripts/buildFontforge
2019-11-26 11:45:58 +00:00

41 lines
708 B
Bash
Executable File

#!/bin/bash
# This bash script build FontForge
source buildScripts/versionEnvs
export CONFIG_SITE=/home/travis/build/pdf2htmlEX/buildScripts/fontforgeConfig.site
pkg-config --cflags python
pkg-config --cflags python-2.7
cd fontforge
./bootstrap
./configure --disable-silent-rules
echo ""
echo "-------------------------------"
cat config.log
echo "-------------------------------"
echo ""
# Apply any patches required for fontforge raw sources before we make
#
for APATCHFILE in $(ls ../patches/fontforge-$FONTFORGE_VERSION-*)
do
echo "patching fontforge using [$APATCHFILE]"
patch -p 1 < $APATCHFILE
done
tree /usr/include/python2.7
#cd fontforge
#make -n
#cd ..
make
#make $MAKE_PARALLEL