Add pychm install

This commit is contained in:
Jean-Francois Dockes 2015-10-30 15:42:08 +01:00
parent 0291c39be6
commit c0f1ec78d3

View File

@ -42,6 +42,7 @@ ZLIB=c:/temp/zlib-1.2.8
POPPLER=c:/temp/poppler-0.36/ POPPLER=c:/temp/poppler-0.36/
LIBWPD=c:/temp/libwpd/libwpd-0.10.0/ LIBWPD=c:/temp/libwpd/libwpd-0.10.0/
LIBREVENGE=c:/temp/libwpd/librevenge-0.0.1.jfd/ LIBREVENGE=c:/temp/libwpd/librevenge-0.0.1.jfd/
CHM=c:/recolldeps/pychm
# Where to find libgcc_s_dw2-1.dll for progs which need it copied # Where to find libgcc_s_dw2-1.dll for progs which need it copied
gccpath=`which gcc` gccpath=`which gcc`
@ -87,8 +88,11 @@ chkcp()
copyqt() copyqt()
{ {
cd $DESTDIR cd $DESTDIR
PATH=$QTBIN:$PATH
export PATH
$QTBIN/windeployqt recoll.exe $QTBIN/windeployqt recoll.exe
chkcp $QTBIN/libwinpthread-1.dll $DESTDIR chkcp $QTBIN/libwinpthread-1.dll $DESTDIR
chkcp $QTBIN/libstdc++-6.dll $DESTDIR
} }
copyxapian() copyxapian()
@ -202,6 +206,11 @@ copywpd()
chkcp $MINGWBIN/libstdc++-6.dll $DEST chkcp $MINGWBIN/libstdc++-6.dll $DEST
chkcp $ZLIB/zlib1.dll $DEST chkcp $ZLIB/zlib1.dll $DEST
} }
copychm()
{
DEST=$FILTERS
cp -rp $CHM/chm $DEST || fatal "can't copy pychm"
}
for d in doc examples filters images translations; do for d in doc examples filters images translations; do
test -d $DESTDIR/Share/$d || mkdir -p $DESTDIR/Share/$d || \ test -d $DESTDIR/Share/$d || mkdir -p $DESTDIR/Share/$d || \
@ -209,15 +218,16 @@ for d in doc examples filters images translations; do
done done
# copyrecoll must stay before copyqt so that windeployqt can do its thing # copyrecoll must stay before copyqt so that windeployqt can do its thing
#copyrecoll copyrecoll
#copyqt copyqt
#copyxapian copyxapian
#copyzlib copyzlib
#copypoppler copypoppler
#copyantiword copyantiword
#copyunrtf copyunrtf
#copyxslt copyxslt
#copymutagen copymutagen
#copyepub copyepub
#copypyexiv2 copypyexiv2
copywpd copywpd
copychm