#!/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