#!/bin/sh
DBIN=c:/usr/work/edrive/wk/dist/LCDFTYPE/bin/
DDTA=c:/usr/work/edrive/wk/dist/LCDFTYPE/share
DDOC=${DDTA}/texmf-dist/doc/lcdf-typetools/base/
DFONT=${DDTA}/texmf-dist/fonts/enc/dvips/base/
DGLPDIR=${DDTA}/texmf-dist/fonts/map/agl/
PDFTEXDIR=${DDTA}/texmf-dist/tex/generic/pdftex/

MYDBIN=c:/usr/local/bin/
MYDDTA=c:/usr/local/share
MYDDOC=${MYDDTA}/texmf-dist/doc/lcdf-typetools/base/
MYDFONT=${MYDDTA}/texmf-dist/fonts/enc/dvips/base/
MYDGLPDIR=${MYDDTA}/texmf-dist/fonts/map/agl/
MYPDFTEXDIR=${MYDDTA}/texmf-dist/tex/generic/pdftex/

echo cp -p cfftot1/cfftot1.exe $DBIN
echo cp -p mmafm/mmafm.exe $DBIN
echo cp -p mmpfb/mmpfb.exe $DBIN
echo cp -p otfinfo/otfinfo.exe $DBIN
echo cp -p otftotfm/otftotfm.exe $DBIN
echo cp -p t1dotlessj/t1dotlessj.exe $DBIN
echo cp -p t1lint/t1lint.exe $DBIN
echo cp -p t1rawafm/t1rawafm.exe $DBIN
echo cp -p t1reencode/t1reencode.exe $DBIN
echo cp -p t1testpage/t1testpage.exe $DBIN
echo cp -p ttftotype42/ttftotype42.exe $DBIN
echo cp -p 7t.enc ${DFONT}
echo cp -p glyphlist.txt texglyphlist.txt texglyphlist-g2u.txt ${DGLPDIR}
echo cp -p ChangeLog COPYING INSTALL NEWS.md ONEWS README.md ${DDOC}
echo cp -p glyphtounicode.tex ${PDFTEXDIR}

echo cp -p cfftot1/cfftot1.exe $MYDBIN
echo cp -p mmafm/mmafm.exe $MYDBIN
echo cp -p mmpfb/mmpfb.exe $MYDBIN
echo cp -p otfinfo/otfinfo.exe $MYDBIN
echo cp -p otftotfm/otftotfm.exe $MYDBIN
echo cp -p t1dotlessj/t1dotlessj.exe $MYDBIN
echo cp -p t1lint/t1lint.exe $MYDBIN
echo cp -p t1rawafm/t1rawafm.exe $MYDBIN
echo cp -p t1reencode/t1reencode.exe $MYDBIN
echo cp -p t1testpage/t1testpage.exe $MYDBIN
echo cp -p ttftotype42/ttftotype42.exe $MYDBIN
echo cp -p 7t.enc ${MYDFONT}
echo cp -p glyphlist.txt texglyphlist.txt texglyphlist-g2u.txt ${MYDGLPDIR}
echo cp -p ChangeLog COPYING INSTALL NEWS.md ONEWS README.md ${MYDDOC}
echo cp -p glyphtounicode.tex ${MYPDFTEXDIR}

cp -p cfftot1/cfftot1.exe $DBIN
cp -p mmafm/mmafm.exe $DBIN
cp -p mmpfb/mmpfb.exe $DBIN
cp -p otfinfo/otfinfo.exe $DBIN
cp -p otftotfm/otftotfm.exe $DBIN
cp -p t1dotlessj/t1dotlessj.exe $DBIN
cp -p t1lint/t1lint.exe $DBIN
cp -p t1rawafm/t1rawafm.exe $DBIN
cp -p t1reencode/t1reencode.exe $DBIN
cp -p t1testpage/t1testpage.exe $DBIN
cp -p ttftotype42/ttftotype42.exe $DBIN
cp -p 7t.enc ${DFONT}
cp -p glyphlist.txt texglyphlist.txt texglyphlist-g2u.txt ${DGLPDIR}
cp -p COPYING NEWS.md ONEWS README.md ${DDOC}
cp -p glyphtounicode.tex ${PDFTEXDIR}

cp -p cfftot1/cfftot1.exe $MYDBIN
cp -p mmafm/mmafm.exe $MYDBIN
cp -p mmpfb/mmpfb.exe $MYDBIN
cp -p otfinfo/otfinfo.exe $MYDBIN
cp -p otftotfm/otftotfm.exe $MYDBIN
cp -p t1dotlessj/t1dotlessj.exe $MYDBIN
cp -p t1lint/t1lint.exe $MYDBIN
cp -p t1rawafm/t1rawafm.exe $MYDBIN
cp -p t1reencode/t1reencode.exe $MYDBIN
cp -p t1testpage/t1testpage.exe $MYDBIN
cp -p ttftotype42/ttftotype42.exe $MYDBIN
cp -p 7t.enc ${MYDFONT}
cp -p glyphlist.txt texglyphlist.txt texglyphlist-g2u.txt ${MYDGLPDIR}
cp -p COPYING NEWS.md ONEWS README.md ${MYDDOC}
cp -p glyphtounicode.tex ${MYPDFTEXDIR}

for f in cfftot1 mmafm mmpfb otfinfo otftotfm t1dotlessj t1lint t1rawafm t1reencode t1testpage ttftotype42
do
echo cp -p $f/$f.pdf ${DDOC}
cp -p $f/$f.pdf ${DDOC}
done

for f in cfftot1 mmafm mmpfb otfinfo otftotfm t1dotlessj t1lint t1rawafm t1reencode t1testpage ttftotype42
do
echo cp -p $f/$f.pdf ${MYDDOC}
cp -p $f/$f.pdf ${MYDDOC}
done
