]> git.lyx.org Git - features.git/commitdiff
Scons: correct installation of cygwin fonts
authorBo Peng <bpeng@lyx.org>
Wed, 27 Sep 2006 19:30:08 +0000 (19:30 +0000)
committerBo Peng <bpeng@lyx.org>
Wed, 27 Sep 2006 19:30:08 +0000 (19:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15175 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index 71e5ed3b4176bc60e9748965aeb91a92fb8d5f85..83f459e3e43a9d804c8c9f0751eb722d467dec5a 100644 (file)
@@ -2255,9 +2255,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')