]> git.lyx.org Git - features.git/commitdiff
Scons: getext/unicode support for tex2lyx (ignore src/tex2lyx/gettext.* and use src...
authorBo Peng <bpeng@lyx.org>
Fri, 3 Nov 2006 18:49:56 +0000 (18:49 +0000)
committerBo Peng <bpeng@lyx.org>
Fri, 3 Nov 2006 18:49:56 +0000 (18:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15716 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct
development/scons/scons_manifest.py

index 47d5a6c9bff7304546ffea8e964c2aa1870c6931..bca2d69b26d90a05613d30985d1dfba00674a09a 100644 (file)
@@ -1790,14 +1790,15 @@ if build_tex2lyx:
     tex2lyx_env.Prepend(CPPPATH = ['$BUILDDIR/common/tex2lyx'])
     tex2lyx_env.AppendUnique(LIBPATH = ['#$LOCALLIBPATH'])
 
-    for file in ['FloatList.C', 'Floating.C', 'counters.C', 'lyxlayout.h', 'lyxlayout.C',
+    for file in ['FloatList.C', 'Floating.C', 'counters.C', 'gettext.h', 'gettext.C', 
+        'lyxlayout.h', 'lyxlayout.C', 'messages.h', 'messages.C',
         'lyxtextclass.h', 'lyxtextclass.C', 'lyxlex.C', 'lyxlex_pimpl.C']:
         env.Command('$BUILDDIR/common/tex2lyx/'+file, '$TOP_SRCDIR/src/'+file,
             [Copy('$TARGET', '$SOURCE')])
 
     tex2lyx = tex2lyx_env.Program(
         target = '$BUILDDIR/common/tex2lyx/tex2lyx',
-        LIBS = ['support'] + boost_libraries + system_libs,
+        LIBS = ['support'] + boost_libraries + intl_libs + system_libs,
         source = ['$BUILDDIR/common/tex2lyx/%s' % x for x in src_tex2lyx_files]
     )
     Alias('tex2lyx', env.Command(os.path.join('$BUILDDIR', os.path.split(str(tex2lyx[0]))[1]),
index 493779a6de583d125860cd32fe01e83f8be2be4b..92d244f80d3747334e7d64d35b489d7feb133a34 100644 (file)
@@ -991,6 +991,7 @@ src_tex2lyx_header_files = Split('''
     context.h
     gettext.h
     lyxfont.h
+    messages.h
     tex2lyx.h
     texparser.h
 ''')
@@ -1010,6 +1011,7 @@ src_tex2lyx_files = Split('''
     lyxlex_pimpl.C
     lyxtextclass.C
     math.C
+    messages.C
     preamble.C
     table.C
     tex2lyx.C