Scons: correct installation of cygwin fonts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15174 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2006-09-27 19:29:08 +00:00
parent ebc38de12a
commit 97ca4339ea

View File

@ -2095,9 +2095,11 @@ if 'install' in targets:
['INSTALL', 'README', 'README.Cygwin', 'RELEASE-NOTES', 'COPYING', 'ANNOUNCE']])
Alias('install', Cygwin_Doc)
# cygwin fonts also need to be installed
env.Install(os.path.join(share_dest_dir, 'font'),
[env.subst('$TOP_SRC_DIR/development/Win32/packaging/bakoma/%s' % file) \
Cygwin_fonts = os.path.join(share_dest_dir, 'font')
env.Install(Cygwin_fonts,
[env.subst('$TOP_SRCDIR/development/Win32/packaging/bakoma/%s' % file) \
for file in win32_bakoma_fonts])
Alias('install', Cygwin_fonts)
# we also need a post installation script
tmp_script = utils.installCygwinPostinstallScript('/tmp')
postinstall_script = os.path.join(dest_dir, 'etc', 'postinstall', 'lyx.sh')