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.
14 lines
245 B
Cheetah
14 lines
245 B
Cheetah
XCOMM $XConsortium: fonts.tmpl /main/2 1996/09/13 17:55:52 drk $
|
|
|
|
/*
|
|
* A template for building standard CDE fonts.
|
|
*/
|
|
|
|
OBJS = FontObj(dtinfo) $(LOCAL_OBJS)
|
|
|
|
CopySourceFile(dtinfo.bdf,$(CDESRC)/fontaliases/bdf)
|
|
|
|
MakeFonts()
|
|
|
|
FontTarget(dtinfo)
|