]> git.lyx.org Git - features.git/commitdiff
Scons: cygwin packaging fixes
authorBo Peng <bpeng@lyx.org>
Thu, 28 Sep 2006 04:45:21 +0000 (04:45 +0000)
committerBo Peng <bpeng@lyx.org>
Thu, 28 Sep 2006 04:45:21 +0000 (04:45 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15178 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index 83f459e3e43a9d804c8c9f0751eb722d467dec5a..c02116cc07bdb75e7c27c6203a9652d27f07fef5 100644 (file)
@@ -2244,18 +2244,18 @@ if 'install' in targets:
     
     if platform_name == 'cygwin':
         # cygwin packaging requires a file /usr/share/doc/Cygwin/foot-vendor-suffix.README
-        Cygwin_README = os.path.join(dest_prefix_dir, 'doc', 'Cygwin', 
-            '%s%s.README' % (package, package_cygwin_version))
+        Cygwin_README = os.path.join(dest_prefix_dir, 'share', 'doc', 'Cygwin', 
+            '%s-%s.README' % (package, package_cygwin_version))
         env.InstallAs(Cygwin_README,
             os.path.join(env.subst('$TOP_SRCDIR'), 'README.cygwin'))
         Alias('install', Cygwin_README)
         # also a directory /usr/share/doc/lyx for README etc
-        Cygwin_Doc = os.path.join(dest_prefix_dir, 'doc', package)
+        Cygwin_Doc = os.path.join(dest_prefix_dir, 'share', 'doc', package)
         env.Install(Cygwin_Doc, [os.path.join(env.subst('$TOP_SRCDIR'), x) for x in \
             ['INSTALL', 'README', 'README.Cygwin', 'RELEASE-NOTES', 'COPYING', 'ANNOUNCE']])
         Alias('install', Cygwin_Doc)
         # cygwin fonts also need to be installed
-        Cygwin_fonts = os.path.join(share_dest_dir, 'font')
+        Cygwin_fonts = os.path.join(share_dest_dir, 'fonts')
         env.Install(Cygwin_fonts, 
             [env.subst('$TOP_SRCDIR/development/Win32/packaging/bakoma/%s' % file) \
                   for file in win32_bakoma_fonts])