mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Scons: getext/unicode support for tex2lyx (ignore src/tex2lyx/gettext.* and use src/gettext.* and src/messages.*)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15716 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
555c1e1cde
commit
ac1dcef5d0
@ -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]),
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user