From 68195134475bca5ae145d2f0e290294aaa543d24 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 24 Oct 2008 20:46:02 +0000 Subject: [PATCH] SConstruct: don't build anymore TOC.lyx files git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27089 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/SConstruct | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/development/scons/SConstruct b/development/scons/SConstruct index 14a2d072fb..0af779e4a9 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -700,7 +700,7 @@ if platform_name == 'cygwin': # # install customized builders env['BUILDERS']['substFile'] = Builder(action = utils.env_subst) -env['BUILDERS']['installTOC'] = Builder(action = utils.env_toc) +#env['BUILDERS']['installTOC'] = Builder(action = utils.env_toc) env['BUILDERS']['potfiles'] = Builder(action = utils.env_potfiles) @@ -2001,20 +2001,6 @@ if 'install' in BUILD_TARGETS or 'installer' in BUILD_TARGETS: Alias('install', share_dest_dir + '/lyx2lyx/lyx2lyx_version.py') sys.path.append(share_dest_dir + '/lyx2lyx') - # generate TOC files for each doc - languages = depend.all_documents(env.Dir('$TOP_SRCDIR/lib/doc').abspath) - tocs = [] - for lang in languages.keys(): - if os.path.isdir(os.path.join(env.Dir('$TOP_SRCDIR/lib/doc').abspath, lang)): - toc = env.installTOC(os.path.join(share_dest_dir, 'doc', lang, 'TOC.lyx'), - languages[lang]) - else: - # this is for English - toc = env.installTOC(os.path.join(share_dest_dir, 'doc', 'TOC.lyx'), - languages[lang]) - tocs.append(toc) - Alias('install', tocs) - 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, 'share', 'doc', 'Cygwin', -- 2.39.5