Files
cdesktop/cde/programs/dtinfo/dtinfo/install/lib/fonts/Imakefile
Jon Trulson 8f7c874ba0 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.
2018-04-03 13:03:26 -06:00

15 lines
284 B
Plaintext

XCOMM $XConsortium: Imakefile /main/6 1996/09/13 17:26:30 drk $
#ifdef X11ProjectRoot
FONTC = $(XPROJECTROOT)/bin/bdftopcf
MKFONTDIR = $(XPROJECTROOT)/bin/mkfontdir
#endif
OBJS = FontObj(dtinfo)
CopySourceFile(dtinfo.bdf,$(CDESRC)/fontaliases/bdf)
MakeFonts()
FontTarget(dtinfo)