fontaliases: use copy rather than symlink since bdftopcf can't handle those
authorJon Trulson <jon@radscan.com>
Tue, 3 Apr 2018 18:55:23 +0000 (12:55 -0600)
committerJon Trulson <jon@radscan.com>
Tue, 3 Apr 2018 19:03:26 +0000 (13:03 -0600)
commit8f7c874ba0773dca850d1a278c5f001558769c3b
tree6b40528b9f26205757968389ab8371b4feaed301
parent7f70748d6572914541c1a170b339720bc6fcf84b
fontaliases: use copy rather than symlink since bdftopcf can't handle those

bdftopcf specifically will not read symbolic links.  This causes it to
fail when creating the programs/fontaliases/*/C/dtinfo.pcf.Z file and
subsequently, the fonts.dir file.

So, we add a new Imake macro: CopySourceFile(), to copy rather than
symlink the dtinfo.bdf file so these operations can complete
successfully.  The dtinfo.bdf file is only 5KB, so there's very little
impact having an extra copy created during a build.
cde/config/cf/Imake.rules
cde/programs/dtinfo/dtinfo/install/lib/fonts/Imakefile
cde/programs/fontaliases/bdf/fonts.tmpl