]> git.lyx.org Git - features.git/commitdiff
Scons: fix env_toc's dependency on lyx2lyx
authorBo Peng <bpeng@lyx.org>
Mon, 12 May 2008 16:36:12 +0000 (16:36 +0000)
committerBo Peng <bpeng@lyx.org>
Mon, 12 May 2008 16:36:12 +0000 (16:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24735 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index ecaa91215a731ffabf2a460a4c3211cec2e87f89..486b30e41b53441ba6ec01ad96eafa442591c574 100644 (file)
@@ -2006,15 +2006,12 @@ if 'install' in BUILD_TARGETS or 'installer' in BUILD_TARGETS:
         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])
-            tocs.append(toc)
-            # doc_toc.build_toc needs a installed version of lyx2lyx to execute
-            env.Depends(toc, share_dest_dir + '/lyx2lyx/lyx2lyx_version.py')
         else:
             # this is for English
             toc = env.installTOC(os.path.join(share_dest_dir, 'doc', 'TOC.lyx'),
                 languages[lang])
-            tocs.append(toc)
-            env.Depends(toc, share_dest_dir + '/lyx2lyx/lyx2lyx_version.py')
+        tocs.append(toc)
+        env.Depends(toc, dirs)
     Alias('install', tocs)
     
     if platform_name == 'cygwin':