]> git.lyx.org Git - lyx.git/blobdiff - development/scons/scons_manifest.py
add installer files to scons_manifest so that installers can depends on installer...
[lyx.git] / development / scons / scons_manifest.py
index 582fca9c0ac178011ad44c346954adf4df6e7087..dcd9d8d278eeb4ac032aa7a21c04e75613975d28 100644 (file)
 from SCons.Util import Split
 
-intl_header_files = Split('''
-    eval-plural.h
-    gettextP.h
-    gmo.h
-    hash-string.h
-    libgnuintl.h
-    libintl.h
-    loadinfo.h
-    localcharset.h
-    os2compat.h
-    plural-exp.h
-    printf-args.h
-    printf-parse.h
-    relocatable.h
-    vasnprintf.h
-    vasnwprintf.h
-    wprintf-parse.h
-    xsize.h
+TOP_extra_files = Split('''
+    ABOUT-NLS
+    ANNOUNCE
+    COPYING
+    ChangeLog
+    ChangeLog.1
+    INSTALL
+    INSTALL.MacOSX
+    INSTALL.Win32
+    INSTALL.autoconf
+    INSTALL.scons
+    Makefile.am
+    NEWS
+    OLD-CHANGES
+    README
+    README.Cygwin
+    README.Win32
+    README.localization
+    RELEASE-NOTES
+    UPGRADING
+    autogen.sh
+    config.log
+    configure.ac
+    lyx.man
+    rename.sh
+    scons_lyx.log
 ''')
 
 
-intl_files = Split('''
-    bindtextdom.c
-    dcgettext.c
-    dcigettext.c
-    dcngettext.c
-    dgettext.c
-    dngettext.c
-    explodename.c
-    finddomain.c
-    gettext.c
-    intl-compat.c
-    l10nflist.c
-    loadmsgcat.c
-    localcharset.c
-    localealias.c
-    localename.c
-    log.c
-    ngettext.c
-    osdep.c
-    plural-exp.c
-    plural.c
-    printf.c
-    relocatable.c
-    textdomain.c
+src_header_files = Split('''
+    ASpell_local.h
+    Author.h
+    Bidi.h
+    Box.h
+    BranchList.h
+    Buffer.h
+    BufferList.h
+    BufferParams.h
+    BufferView.h
+    Bullet.h
+    Changes.h
+    Chktex.h
+    Color.h
+    Converter.h
+    ConverterCache.h
+    CoordCache.h
+    Counters.h
+    Cursor.h
+    CursorSlice.h
+    CutAndPaste.h
+    DepTable.h
+    Dimension.h
+    DispatchResult.h
+    DocIterator.h
+    Encoding.h
+    ErrorList.h
+    Exporter.h
+    FloatList.h
+    Floating.h
+    Font.h
+    FontIterator.h
+    Format.h
+    FuncRequest.h
+    FuncStatus.h
+    Graph.h
+    ISpell.h
+    Importer.h
+    InsetIterator.h
+    InsetList.h
+    Intl.h
+    KeyMap.h
+    KeySequence.h
+    LaTeX.h
+    LaTeXFeatures.h
+    Language.h
+    Layout.h
+    Length.h
+    Lexer.h
+    LyX.h
+    LyXAction.h
+    LyXFunc.h
+    LyXRC.h
+    LyXVC.h
+    MenuBackend.h
+    Messages.h
+    MetricsInfo.h
+    Mover.h
+    OutputParams.h
+    PSpell.h
+    ParIterator.h
+    Paragraph.h
+    ParagraphList.h
+    ParagraphMetrics.h
+    ParagraphParameters.h
+    PrinterParams.h
+    Row.h
+    Section.h
+    Server.h
+    ServerSocket.h
+    Session.h
+    Spacing.h
+    SpellBase.h
+    TexRow.h
+    Text.h
+    TextClass.h
+    TextClassList.h
+    TextMetrics.h
+    Thesaurus.h
+    TocBackend.h
+    ToolbarBackend.h
+    Trans.h
+    Undo.h
+    VCBackend.h
+    VSpace.h
+    Variables.h
+    WordLangTuple.h
+    buffer_funcs.h
+    bufferview_funcs.h
+    callback.h
+    debug.h
+    factory.h
+    gettext.h
+    lengthcommon.h
+    lfuns.h
+    lyxfind.h
+    lyxlayout_ptr_fwd.h
+    output.h
+    output_docbook.h
+    output_latex.h
+    output_plaintext.h
+    paper.h
+    paragraph_funcs.h
+    rowpainter.h
+    sgml.h
+    toc.h
+    update_flags.h
+    version.h
 ''')
 
 
-boost_libs_signals_src_files = Split('''
-    connection.cpp
-    named_slot_map.cpp
-    signal_base.cpp
-    slot.cpp
-    trackable.cpp
+src_pre_files = Split('''
+    Author.cpp
+    Bidi.cpp
+    BranchList.cpp
+    Buffer.cpp
+    BufferList.cpp
+    BufferParams.cpp
+    BufferView.cpp
+    Bullet.cpp
+    Changes.cpp
+    Chktex.cpp
+    Color.cpp
+    Converter.cpp
+    ConverterCache.cpp
+    CoordCache.cpp
+    Counters.cpp
+    Cursor.cpp
+    CursorSlice.cpp
+    CutAndPaste.cpp
+    DepTable.cpp
+    DocIterator.cpp
+    Encoding.cpp
+    ErrorList.cpp
+    Exporter.cpp
+    FloatList.cpp
+    Floating.cpp
+    Font.cpp
+    FontIterator.cpp
+    Format.cpp
+    FuncRequest.cpp
+    FuncStatus.cpp
+    Graph.cpp
+    Importer.cpp
+    InsetIterator.cpp
+    InsetList.cpp
+    Intl.cpp
+    KeyMap.cpp
+    KeySequence.cpp
+    LaTeX.cpp
+    LaTeXFeatures.cpp
+    Language.cpp
+    Layout.cpp
+    Length.cpp
+    Lexer.cpp
+    LyX.cpp
+    LyXAction.cpp
+    LyXFunc.cpp
+    LyXRC.cpp
+    LyXVC.cpp
+    MenuBackend.cpp
+    Messages.cpp
+    MetricsInfo.cpp
+    Mover.cpp
+    OutputParams.cpp
+    ParIterator.cpp
+    Paragraph.cpp
+    ParagraphMetrics.cpp
+    ParagraphParameters.cpp
+    Row.cpp
+    Server.cpp
+    ServerSocket.cpp
+    Session.cpp
+    Spacing.cpp
+    TexRow.cpp
+    Text.cpp
+    Text2.cpp
+    Text3.cpp
+    TextClass.cpp
+    TextClassList.cpp
+    TextMetrics.cpp
+    TocBackend.cpp
+    ToolbarBackend.cpp
+    Trans.cpp
+    Undo.cpp
+    VCBackend.cpp
+    VSpace.cpp
+    boost.cpp
+    buffer_funcs.cpp
+    bufferview_funcs.cpp
+    callback.cpp
+    debug.cpp
+    factory.cpp
+    gettext.cpp
+    lengthcommon.cpp
+    lyxfind.cpp
+    output.cpp
+    output_docbook.cpp
+    output_latex.cpp
+    output_plaintext.cpp
+    paragraph_funcs.cpp
+    rowpainter.cpp
+    sgml.cpp
+    toc.cpp
 ''')
 
 
-boost_libs_regex_src_files = Split('''
-    c_regex_traits.cpp
-    cpp_regex_traits.cpp
-    cregex.cpp
-    fileiter.cpp
-    instances.cpp
-    posix_api.cpp
-    regex.cpp
-    regex_debug.cpp
-    regex_raw_buffer.cpp
-    regex_traits_defaults.cpp
-    w32_regex_traits.cpp
-    wide_posix_api.cpp
-    winstances.cpp
+src_post_files = Split('''
+    Box.cpp
+    Dimension.cpp
+    PrinterParams.cpp
+    SpellBase.cpp
+    Thesaurus.cpp
 ''')
 
 
-boost_libs_filesystem_src_files = Split('''
-    exception.cpp
-    operations.cpp
-    path.cpp
-    portability.cpp
+src_extra_src_files = Split('''
+    ASpell.cpp
+    ISpell.cpp
+    PSpell.cpp
+    Section.cpp
+    Variables.cpp
+    main.cpp
+    stamp-h.in
+    version.cpp.in
 ''')
 
 
-boost_libs_iostreams_src_files = Split('''
-    file_descriptor.cpp
-    mapped_file.cpp
-    zlib.cpp
+src_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    pch.h
+''')
+
+
+src_client_header_files = Split('''
+    Messages.h
+    debug.h
+''')
+
+
+src_client_files = Split('''
+    Messages.cpp
+    boost.cpp
+    client.cpp
+    debug.cpp
+    gettext.cpp
+''')
+
+
+src_client_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    lyxclient.man
+    pch.h
 ''')
 
 
 src_support_header_files = Split('''
+    ExceptionMessage.h
+    FileFilterList.h
     FileMonitor.h
+    FileName.h
+    ForkedCallQueue.h
+    Forkedcall.h
+    ForkedcallsController.h
+    Package.h
+    Path.h
     RandomAccessList.h
+    Systemcall.h
+    Translator.h
     convert.h
     copied_ptr.h
     cow_ptr.h
@@ -99,13 +307,7 @@ src_support_header_files = Split('''
     docstream.h
     docstring.h
     environment.h
-    ExceptionMessage.h
-    filefilterlist.h
-    filename.h
     filetools.h
-    forkedcall.h
-    forkedcallqueue.h
-    forkedcontr.h
     fs_extras.h
     limited_stack.h
     lstrings.h
@@ -115,15 +317,11 @@ src_support_header_files = Split('''
     lyxtime.h
     os.h
     os_win32.h
-    package.h
-    path.h
     qstring_helpers.h
     socktools.h
     std_istream.h
     std_ostream.h
-    systemcall.h
     textutils.h
-    translator.h
     types.h
     unicode.h
     userinfo.h
@@ -131,43 +329,123 @@ src_support_header_files = Split('''
 
 
 src_support_files = Split('''
-    FileMonitor.C
-    abort.C
-    chdir.C
-    convert.C
-    copy.C
-    docstream.C
-    docstring.C
-    environment.C
-    filefilterlist.C
-    filename.C
-    filetools.C
-    forkedcall.C
-    forkedcallqueue.C
-    forkedcontr.C
-    fs_extras.C
-    getcwd.C
-    kill.C
-    lstrings.C
-    lyxsum.C
-    lyxtime.C
-    mkdir.C
-    os.C
-    package.C
-    path.C
-    qstring_helpers.C
-    rename.C
-    socktools.C
-    systemcall.C
-    tempname.C
-    textutils.C
-    unicode.C
-    unlink.C
-    userinfo.C
+    FileFilterList.cpp
+    FileMonitor.cpp
+    FileName.cpp
+    ForkedCallQueue.cpp
+    Forkedcall.cpp
+    ForkedcallsController.cpp
+    Path.cpp
+    Systemcall.cpp
+    abort.cpp
+    chdir.cpp
+    convert.cpp
+    copy.cpp
+    docstream.cpp
+    docstring.cpp
+    environment.cpp
+    filetools.cpp
+    fs_extras.cpp
+    getcwd.cpp
+    kill.cpp
+    lstrings.cpp
+    lyxsum.cpp
+    lyxtime.cpp
+    mkdir.cpp
+    os.cpp
+    qstring_helpers.cpp
+    rename.cpp
+    socktools.cpp
+    tempname.cpp
+    textutils.cpp
+    unicode.cpp
+    unlink.cpp
+    userinfo.cpp
+''')
+
+
+src_support_extra_header_files = Split('''
+    
+''')
+
+
+src_support_extra_src_files = Split('''
+    Package.cpp.in
+    atexit.c
+    os_cygwin.cpp
+    os_unix.cpp
+    os_win32.cpp
+    strerror.c
+''')
+
+
+src_support_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    pch.h
+''')
+
+
+src_support_tests_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    boost.cpp
+    convert.cpp
+    filetools.cpp
+    lstrings.cpp
+    pch.h
+    test_convert
+    test_filetools
+    test_lstrings
+''')
+
+
+src_support_tests_regfiles_extra_files = Split('''
+    convert
+    filetools
+    lstrings
+''')
+
+
+src_graphics_header_files = Split('''
+    GraphicsCache.h
+    GraphicsCacheItem.h
+    GraphicsConverter.h
+    GraphicsImage.h
+    GraphicsLoader.h
+    GraphicsParams.h
+    GraphicsTypes.h
+    LoaderQueue.h
+    PreviewImage.h
+    PreviewLoader.h
+    Previews.h
+''')
+
+
+src_graphics_files = Split('''
+    GraphicsCache.cpp
+    GraphicsCacheItem.cpp
+    GraphicsConverter.cpp
+    GraphicsImage.cpp
+    GraphicsLoader.cpp
+    GraphicsParams.cpp
+    GraphicsTypes.cpp
+    LoaderQueue.cpp
+    PreviewImage.cpp
+    PreviewLoader.cpp
+    Previews.cpp
+''')
+
+
+src_graphics_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    pch.h
 ''')
 
 
 src_mathed_header_files = Split('''
+    CommandInset.h
     InsetMath.h
     InsetMathAMSArray.h
     InsetMathArray.h
@@ -180,13 +458,11 @@ src_mathed_header_files = Split('''
     InsetMathCases.h
     InsetMathChar.h
     InsetMathColor.h
-    InsetMathCommand.h
     InsetMathComment.h
     InsetMathDFrac.h
     InsetMathDecoration.h
     InsetMathDelim.h
     InsetMathDiff.h
-    InsetMathDim.h
     InsetMathDots.h
     InsetMathEnv.h
     InsetMathExFunc.h
@@ -202,7 +478,6 @@ src_mathed_header_files = Split('''
     InsetMathKern.h
     InsetMathLefteqn.h
     InsetMathLim.h
-    InsetMathMacro.h
     InsetMathMakebox.h
     InsetMathMatrix.h
     InsetMathNest.h
@@ -227,278 +502,214 @@ src_mathed_header_files = Split('''
     InsetMathUnknown.h
     InsetMathXArrow.h
     InsetMathXYMatrix.h
+    MacroTable.h
     MathAtom.h
     MathAutoCorrect.h
     MathData.h
     MathExtern.h
     MathFactory.h
     MathGridInfo.h
+    MathMacro.h
     MathMacroArgument.h
-    MathMacroTable.h
     MathMacroTemplate.h
     MathParser.h
-    MathReplace.h
     MathStream.h
     MathSupport.h
+    ReplaceData.h
     TextPainter.h
 ''')
 
 
 src_mathed_files = Split('''
-    InsetMath.C
-    InsetMathAMSArray.C
-    InsetMathArray.C
-    InsetMathBig.C
-    InsetMathBinom.C
-    InsetMathBoldSymbol.C
-    InsetMathBox.C
-    InsetMathBoxed.C
-    InsetMathBrace.C
-    InsetMathCases.C
-    InsetMathChar.C
-    InsetMathColor.C
-    InsetMathCommand.C
-    InsetMathComment.C
-    InsetMathDFrac.C
-    InsetMathDecoration.C
-    InsetMathDelim.C
-    InsetMathDiff.C
-    InsetMathDim.C
-    InsetMathDots.C
-    InsetMathEnv.C
-    InsetMathExFunc.C
-    InsetMathExInt.C
-    InsetMathFBox.C
-    InsetMathFont.C
-    InsetMathFontOld.C
-    InsetMathFrac.C
-    InsetMathFracBase.C
-    InsetMathFrameBox.C
-    InsetMathGrid.C
-    InsetMathHull.C
-    InsetMathKern.C
-    InsetMathLefteqn.C
-    InsetMathLim.C
-    InsetMathMacro.C
-    InsetMathMakebox.C
-    InsetMathMatrix.C
-    InsetMathNest.C
-    InsetMathNumber.C
-    InsetMathOverset.C
-    InsetMathPar.C
-    InsetMathPhantom.C
-    InsetMathRef.C
-    InsetMathRoot.C
-    InsetMathScript.C
-    InsetMathSize.C
-    InsetMathSpace.C
-    InsetMathSplit.C
-    InsetMathSqrt.C
-    InsetMathStackrel.C
-    InsetMathString.C
-    InsetMathSubstack.C
-    InsetMathSymbol.C
-    InsetMathTFrac.C
-    InsetMathTabular.C
-    InsetMathUnderset.C
-    InsetMathUnknown.C
-    InsetMathXArrow.C
-    InsetMathXYMatrix.C
-    MathAtom.C
-    MathAutoCorrect.C
-    MathData.C
-    MathExtern.C
-    MathFactory.C
-    MathMacroArgument.C
-    MathMacroTable.C
-    MathMacroTemplate.C
-    MathParser.C
-    MathStream.C
-    MathSupport.C
-    TextPainter.C
+    CommandInset.cpp
+    InsetMath.cpp
+    InsetMathAMSArray.cpp
+    InsetMathArray.cpp
+    InsetMathBig.cpp
+    InsetMathBinom.cpp
+    InsetMathBoldSymbol.cpp
+    InsetMathBox.cpp
+    InsetMathBoxed.cpp
+    InsetMathBrace.cpp
+    InsetMathCases.cpp
+    InsetMathChar.cpp
+    InsetMathColor.cpp
+    InsetMathComment.cpp
+    InsetMathDFrac.cpp
+    InsetMathDecoration.cpp
+    InsetMathDelim.cpp
+    InsetMathDiff.cpp
+    InsetMathDots.cpp
+    InsetMathEnv.cpp
+    InsetMathExFunc.cpp
+    InsetMathExInt.cpp
+    InsetMathFBox.cpp
+    InsetMathFont.cpp
+    InsetMathFontOld.cpp
+    InsetMathFrac.cpp
+    InsetMathFracBase.cpp
+    InsetMathFrameBox.cpp
+    InsetMathGrid.cpp
+    InsetMathHull.cpp
+    InsetMathKern.cpp
+    InsetMathLefteqn.cpp
+    InsetMathLim.cpp
+    InsetMathMakebox.cpp
+    InsetMathMatrix.cpp
+    InsetMathNest.cpp
+    InsetMathNumber.cpp
+    InsetMathOverset.cpp
+    InsetMathPar.cpp
+    InsetMathPhantom.cpp
+    InsetMathRef.cpp
+    InsetMathRoot.cpp
+    InsetMathScript.cpp
+    InsetMathSize.cpp
+    InsetMathSpace.cpp
+    InsetMathSplit.cpp
+    InsetMathSqrt.cpp
+    InsetMathStackrel.cpp
+    InsetMathString.cpp
+    InsetMathSubstack.cpp
+    InsetMathSymbol.cpp
+    InsetMathTFrac.cpp
+    InsetMathTabular.cpp
+    InsetMathUnderset.cpp
+    InsetMathUnknown.cpp
+    InsetMathXArrow.cpp
+    InsetMathXYMatrix.cpp
+    MacroTable.cpp
+    MathAtom.cpp
+    MathAutoCorrect.cpp
+    MathData.cpp
+    MathExtern.cpp
+    MathFactory.cpp
+    MathMacro.cpp
+    MathMacroArgument.cpp
+    MathMacroTemplate.cpp
+    MathParser.cpp
+    MathStream.cpp
+    MathSupport.cpp
+    TextPainter.cpp
+''')
+
+
+src_mathed_extra_files = Split('''
+    BUGS
+    ChangeLog
+    InsetFormulaMacro.cpp
+    InsetFormulaMacro.h
+    InsetMathMBox.cpp
+    InsetMathMBox.h
+    InsetMathXYArrow.cpp
+    InsetMathXYArrow.h
+    Makefile.am
+    README
+    pch.h
+    texify
 ''')
 
 
-src_insets_header_files = Split('''
-    ExternalSupport.h
-    ExternalTemplate.h
-    ExternalTransforms.h
-    inset.h
-    insetbase.h
-    insetbibitem.h
-    insetbibtex.h
-    insetbox.h
-    insetbranch.h
-    insetcaption.h
-    insetcharstyle.h
-    insetcite.h
-    insetcollapsable.h
-    insetcommand.h
-    insetcommandparams.h
-    insetenv.h
-    insetert.h
-    insetexternal.h
-    insetfloat.h
-    insetfloatlist.h
-    insetfoot.h
-    insetfootlike.h
-    insetgraphics.h
-    insetgraphicsParams.h
-    insethfill.h
-    insetinclude.h
-    insetindex.h
-    insetlabel.h
-    insetline.h
-    insetmarginal.h
-    insetnewline.h
-    insetnomencl.h
-    insetnote.h
-    insetoptarg.h
-    insetpagebreak.h
-    insetquotes.h
-    insetref.h
-    insetspace.h
-    insetspecialchar.h
-    insettabular.h
-    insettext.h
-    insettheorem.h
-    insettoc.h
-    inseturl.h
-    insetvspace.h
-    insetwrap.h
-    mailinset.h
-    render_base.h
-    render_button.h
-    render_graphic.h
-    render_preview.h
+src_tex2lyx_header_files = Split('''
+    Context.h
+    Font.h
+    Parser.h
+    Spacing.h
+    tex2lyx.h
 ''')
 
 
-src_insets_files = Split('''
-    ExternalSupport.C
-    ExternalTemplate.C
-    ExternalTransforms.C
-    inset.C
-    insetbase.C
-    insetbibitem.C
-    insetbibtex.C
-    insetbox.C
-    insetbranch.C
-    insetcaption.C
-    insetcharstyle.C
-    insetcite.C
-    insetcollapsable.C
-    insetcommand.C
-    insetcommandparams.C
-    insetenv.C
-    insetert.C
-    insetexternal.C
-    insetfloat.C
-    insetfloatlist.C
-    insetfoot.C
-    insetfootlike.C
-    insetgraphics.C
-    insetgraphicsParams.C
-    insethfill.C
-    insetinclude.C
-    insetindex.C
-    insetlabel.C
-    insetline.C
-    insetmarginal.C
-    insetnewline.C
-    insetnomencl.C
-    insetnote.C
-    insetoptarg.C
-    insetpagebreak.C
-    insetquotes.C
-    insetref.C
-    insetspace.C
-    insetspecialchar.C
-    insettabular.C
-    insettext.C
-    insettoc.C
-    inseturl.C
-    insetvspace.C
-    insetwrap.C
-    mailinset.C
-    render_button.C
-    render_graphic.C
-    render_preview.C
+src_tex2lyx_files = Split('''
+    Context.cpp
+    Font.cpp
+    Parser.cpp
+    boost.cpp
+    gettext.cpp
+    lengthcommon.cpp
+    math.cpp
+    preamble.cpp
+    table.cpp
+    tex2lyx.cpp
+    text.cpp
+''')
+
+
+src_tex2lyx_copied_files = Split('''
+    Counters.cpp
+    FloatList.cpp
+    Floating.cpp
+    Layout.cpp
+    Lexer.cpp
+    TextClass.cpp
+''')
+
+
+src_tex2lyx_copied_header_files = Split('''
+    Layout.h
+    Lexer.h
+    TextClass.h
+''')
+
+
+src_tex2lyx_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    pch.h
+    test-insets.tex
+    test-structure.tex
+    test.ltx
+    tex2lyx.man
 ''')
 
 
 src_frontends_header_files = Split('''
-    Alert.h
     Alert_pimpl.h
     Application.h
     Clipboard.h
-    NoGuiFontLoader.h
-    NoGuiFontMetrics.h
     Dialogs.h
     FileDialog.h
     FontLoader.h
     FontMetrics.h
     Gui.h
-    LyXKeySym.h
-    LyXKeySymFactory.h
+    KeySymbol.h
     LyXView.h
     Menubar.h
+    NoGuiFontLoader.h
+    NoGuiFontMetrics.h
     Painter.h
     Selection.h
     Timeout.h
     Toolbars.h
     WorkArea.h
+    alert.h
     key_state.h
     mouse_state.h
 ''')
 
 
 src_frontends_files = Split('''
-    Alert.C
-    Application.C
-    Dialogs.C
-    LyXView.C
-    Painter.C
-    Timeout.C
-    Toolbars.C
-    WorkArea.C
-''')
-
-
-src_graphics_header_files = Split('''
-    GraphicsCache.h
-    GraphicsCacheItem.h
-    GraphicsConverter.h
-    GraphicsImage.h
-    GraphicsLoader.h
-    GraphicsParams.h
-    GraphicsTypes.h
-    LoaderQueue.h
-    PreviewImage.h
-    PreviewLoader.h
-    Previews.h
+    Application.cpp
+    Dialogs.cpp
+    LyXView.cpp
+    Painter.cpp
+    Timeout.cpp
+    Toolbars.cpp
+    WorkArea.cpp
+    alert.cpp
 ''')
 
 
-src_graphics_files = Split('''
-    GraphicsCache.C
-    GraphicsCacheItem.C
-    GraphicsConverter.C
-    GraphicsImage.C
-    GraphicsLoader.C
-    GraphicsParams.C
-    GraphicsTypes.C
-    LoaderQueue.C
-    PreviewImage.C
-    PreviewLoader.C
-    Previews.C
+src_frontends_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    pch.h
 ''')
 
 
 src_frontends_controllers_header_files = Split('''
     BCView.h
     ButtonController.h
-    ButtonPolicies.h
+    ButtonPolicy.h
     ControlAboutlyx.h
     ControlBibtex.h
     ControlBox.h
@@ -515,6 +726,7 @@ src_frontends_controllers_header_files = Split('''
     ControlFloat.h
     ControlGraphics.h
     ControlInclude.h
+    ControlListings.h
     ControlLog.h
     ControlMath.h
     ControlNote.h
@@ -536,217 +748,86 @@ src_frontends_controllers_header_files = Split('''
     ControlWrap.h
     Dialog.h
     Kernel.h
-    biblio.h
-    character.h
-    frnt_lang.h
-    helper_funcs.h
-    tex_helpers.h
+    frontend_helpers.h
 ''')
 
 
 src_frontends_controllers_files = Split('''
-    BCView.C
-    ButtonController.C
-    ButtonPolicies.C
-    ControlAboutlyx.C
-    ControlBibtex.C
-    ControlBox.C
-    ControlBranch.C
-    ControlChanges.C
-    ControlCharacter.C
-    ControlCitation.C
-    ControlCommand.C
-    ControlCommandBuffer.C
-    ControlDocument.C
-    ControlERT.C
-    ControlErrorList.C
-    ControlExternal.C
-    ControlFloat.C
-    ControlGraphics.C
-    ControlInclude.C
-    ControlLog.C
-    ControlMath.C
-    ControlNote.C
-    ControlParagraph.C
-    ControlPrefs.C
-    ControlPrint.C
-    ControlRef.C
-    ControlSearch.C
-    ControlSendto.C
-    ControlShowFile.C
-    ControlSpellchecker.C
-    ControlTabular.C
-    ControlTabularCreate.C
-    ControlTexinfo.C
-    ControlThesaurus.C
-    ControlToc.C
-    ControlVSpace.C
-    ControlViewSource.C
-    ControlWrap.C
-    Dialog.C
-    Kernel.C
-    biblio.C
-    character.C
-    frnt_lang.C
-    helper_funcs.C
-    tex_helpers.C
-''')
-
-
-
-src_frontends_qt4_ui_files = Split('''
-    BiblioUi.ui
-    BranchesUi.ui
-    BulletsUi.ui
-    FloatPlacementUi.ui
-    FontUi.ui
-    LaTeXUi.ui
-    LanguageUi.ui
-    MarginsUi.ui
-    MathsUi.ui
-    NumberingUi.ui
-    PageLayoutUi.ui
-    PreambleUi.ui
-    QAboutUi.ui
-    QAskForTextUi.ui
-    QBibitemUi.ui
-    QBibtexAddUi.ui
-    QBibtexUi.ui
-    QBoxUi.ui
-    QBranchUi.ui
-    QChangesUi.ui
-    QCharacterUi.ui
-    QCitationUi.ui
-    QDelimiterUi.ui
-    QDocumentUi.ui
-    QERTUi.ui
-    QErrorListUi.ui
-    QExternalUi.ui
-    QFloatUi.ui
-    QGraphicsUi.ui
-    QIncludeUi.ui
-    QIndexUi.ui
-    QLogUi.ui
-    QMathMatrixUi.ui
-    QMathUi.ui
-    QNomenclUi.ui
-    QNoteUi.ui
-    QParagraphUi.ui
-    QPrefColorsUi.ui
-    QPrefConvertersUi.ui
-    QPrefCopiersUi.ui
-    QPrefCygwinPathUi.ui
-    QPrefDateUi.ui
-    QPrefDisplayUi.ui
-    QPrefFileformatsUi.ui
-    QPrefIdentityUi.ui
-    QPrefKeyboardUi.ui
-    QPrefLanguageUi.ui
-    QPrefLatexUi.ui
-    QPrefPathsUi.ui
-    QPrefPlaintextUi.ui
-    QPrefPrinterUi.ui
-    QPrefScreenFontsUi.ui
-    QPrefSpellcheckerUi.ui
-    QPrefUi.ui
-    QPrefsUi.ui
-    QPrintUi.ui
-    QRefUi.ui
-    QSearchUi.ui
-    QSendtoUi.ui
-    QShowFileUi.ui
-    QSpellcheckerUi.ui
-    QTabularCreateUi.ui
-    QTabularUi.ui
-    QTexinfoUi.ui
-    QThesaurusUi.ui
-    QTocUi.ui
-    QURLUi.ui
-    QVSpaceUi.ui
-    QViewSourceUi.ui
-    QWrapUi.ui
-    TextLayoutUi.ui
-''')
-
-
-src_frontends_qt4_moc_files = Split('''
-    BulletsModule.C
-    emptytable.C
-    FileDialog_private.C
-    FloatPlacement.C
-    GuiApplication.C
-    GuiImplementation.C
-    iconpalette.C
-    lengthcombo.C
-    InsertTableWidget.C
-    panelstack.C
-    QAboutDialog.C
-    QBibitemDialog.C
-    QBibtexDialog.C
-    QBoxDialog.C
-    QBranchDialog.C
-    QBranches.C
-    QChangesDialog.C
-    QCharacterDialog.C
-    QCitationDialog.C
-    QCommandBuffer.C
-    QCommandEdit.C
-    QDelimiterDialog.C
-    QDocumentDialog.C
-    QErrorListDialog.C
-    QERTDialog.C
-    QExternalDialog.C
-    QFloatDialog.C
-    QGraphicsDialog.C
-    QIncludeDialog.C
-    QIndexDialog.C
-    Action.C
-    QLog.C
-    QLogDialog.C
-    QViewSourceDialog.C
-    QViewSource.C
-    QLMenubar.C
-    QLPopupMenu.C
-    QLPrintDialog.C
-    QMathDialog.C
-    QMathMatrixDialog.C
-    QNomencl.C
-    QNomenclDialog.C
-    QNoteDialog.C
-    QParagraphDialog.C
-    QPrefsDialog.C
-    QRefDialog.C
-    QSearchDialog.C
-    QSendtoDialog.C
-    qsetborder.C
-    QShowFileDialog.C
-    QSpellcheckerDialog.C
-    QDialogView.C
-    QTabularCreateDialog.C
-    QTabularDialog.C
-    QTexinfoDialog.C
-    QThesaurusDialog.C
-    TocModel.C
-    TocWidget.C
-    QToc.C
-    GuiView.C
-    QURLDialog.C
-    QVSpaceDialog.C
-    GuiWorkArea.C
-    QWrapDialog.C
-    QLToolbar.C
-    socket_callback.C
-    validators.C
+    BCView.cpp
+    ButtonController.cpp
+    ButtonPolicy.cpp
+    ControlAboutlyx.cpp
+    ControlBibtex.cpp
+    ControlBox.cpp
+    ControlBranch.cpp
+    ControlChanges.cpp
+    ControlCharacter.cpp
+    ControlCitation.cpp
+    ControlCommand.cpp
+    ControlCommandBuffer.cpp
+    ControlDocument.cpp
+    ControlERT.cpp
+    ControlErrorList.cpp
+    ControlExternal.cpp
+    ControlFloat.cpp
+    ControlGraphics.cpp
+    ControlInclude.cpp
+    ControlListings.cpp
+    ControlLog.cpp
+    ControlMath.cpp
+    ControlNote.cpp
+    ControlParagraph.cpp
+    ControlPrefs.cpp
+    ControlPrint.cpp
+    ControlRef.cpp
+    ControlSearch.cpp
+    ControlSendto.cpp
+    ControlShowFile.cpp
+    ControlSpellchecker.cpp
+    ControlTabular.cpp
+    ControlTabularCreate.cpp
+    ControlTexinfo.cpp
+    ControlThesaurus.cpp
+    ControlToc.cpp
+    ControlVSpace.cpp
+    ControlViewSource.cpp
+    ControlWrap.cpp
+    Dialog.cpp
+    Kernel.cpp
+    frontend_helpers.cpp
+''')
+
+
+src_frontends_controllers_extra_files = Split('''
+    BCView.tmpl
+    ChangeLog
+    Makefile.am
+    pch.h
+''')
+
+
+src_frontends_controllers_tests_extra_files = Split('''
+    Makefile.am
+    biblio.cpp
+    boost.cpp
+    pch.h
+    test_biblio
+''')
+
+
+src_frontends_controllers_tests_regfiles_extra_files = Split('''
+    biblio
 ''')
 
 
 src_frontends_qt4_header_files = Split('''
     Action.h
-    BiblioModuleBase.h
     BulletsModule.h
+    CheckedLineEdit.h
     ColorCache.h
     DockView.h
-    FileDialog_private.h
+    EmptyTable.h
+    FloatPlacement.h
     GuiApplication.h
     GuiClipboard.h
     GuiFontLoader.h
@@ -754,23 +835,20 @@ src_frontends_qt4_header_files = Split('''
     GuiSelection.h
     GuiView.h
     GuiWorkArea.h
+    IconPalette.h
     InsertTableWidget.h
+    LengthCombo.h
+    LyXFileDialog.h
+    PanelStack.h
     QAbout.h
-    QAboutDialog.h
     QBibitem.h
-    QBibitemDialog.h
     QBibtex.h
-    QBibtexDialog.h
     QBox.h
-    QBoxDialog.h
     QBranch.h
-    QBranchDialog.h
     QBranches.h
-    QBrowseBox.h
     QChanges.h
-    QChangesDialog.h
     QCharacter.h
-    QCharacterDialog.h
+    QCharacter.h
     QCitation.h
     QCitationDialog.h
     QCommandBuffer.h
@@ -778,22 +856,19 @@ src_frontends_qt4_header_files = Split('''
     QDelimiterDialog.h
     QDialogView.h
     QDocument.h
-    QDocumentDialog.h
     QERT.h
-    QERTDialog.h
     QErrorList.h
-    QErrorListDialog.h
     QExternal.h
-    QExternalDialog.h
     QFloat.h
     QFloatDialog.h
+    QFontExample.h
     QGraphics.h
     QGraphicsDialog.h
     QGraphicsUi.h
     QInclude.h
-    QIncludeDialog.h
     QIndex.h
-    QIndexDialog.h
+    QKeySymbol.h
+    QListings.h
     QLImage.h
     QLMenubar.h
     QLPainter.h
@@ -801,687 +876,663 @@ src_frontends_qt4_header_files = Split('''
     QLPrintDialog.h
     QLToolbar.h
     QLog.h
-    QLogDialog.h
-    QLyXKeySym.h
-    QMath.h
-    QMathDialog.h
     QMathMatrixDialog.h
     QNomencl.h
-    QNomenclDialog.h
     QNote.h
-    QNoteDialog.h
     QParagraph.h
-    QParagraphDialog.h
     QPrefs.h
-    QPrefsDialog.h
     QPrint.h
     QRef.h
-    QRefDialog.h
     QSearch.h
-    QSearchDialog.h
     QSendto.h
-    QSendtoDialog.h
+    QSetBorder.h
     QShowFile.h
-    QShowFileDialog.h
     QSpellchecker.h
-    QSpellcheckerDialog.h
     QTabular.h
     QTabularCreate.h
-    QTabularCreateDialog.h
-    QTabularDialog.h
     QTexinfo.h
-    QTexinfoDialog.h
     QThesaurus.h
-    QThesaurusDialog.h
     QToc.h
     QURLDialog.h
     QVSpace.h
-    QVSpaceDialog.h
     QViewSource.h
-    QViewSourceDialog.h
     QWrap.h
-    QWrapDialog.h
     Qt2BC.h
     TocModel.h
     TocWidget.h
     UrlView.h
-    checkedwidgets.h
-    emptytable.h
-    FloatPlacement.h
-    iconpalette.h
-    lengthcombo.h
-    panelstack.h
-    qfontexample.h
+    Validator.h
     qlkey.h
-    qsetborder.h
     qtTimeout.h
     qt_helpers.h
     socket_callback.h
-    validators.h
 ''')
 
 
 src_frontends_qt4_files = Split('''
-    Action.C
-    Alert_pimpl.C
-    BulletsModule.C
-    ColorCache.C
-    Dialogs.C
-    FileDialog.C
-    FileDialog_private.C
-    GuiApplication.C
-    GuiClipboard.C
-    GuiFontLoader.C
-    GuiFontMetrics.C
-    GuiImplementation.C
-    GuiSelection.C
-    GuiView.C
-    GuiWorkArea.C
-    InsertTableWidget.C
-    LyXKeySymFactory.C
-    QAbout.C
-    QAboutDialog.C
-    QBibitem.C
-    QBibitemDialog.C
-    QBibtex.C
-    QBibtexDialog.C
-    QBox.C
-    QBoxDialog.C
-    QBranch.C
-    QBranchDialog.C
-    QBranches.C
-    QChanges.C
-    QChangesDialog.C
-    QCharacter.C
-    QCharacterDialog.C
-    QCitation.C
-    QCitationDialog.C
-    QCommandBuffer.C
-    QCommandEdit.C
-    QDelimiterDialog.C
-    QDialogView.C
-    QDocument.C
-    QDocumentDialog.C
-    QERT.C
-    QERTDialog.C
-    QErrorList.C
-    QErrorListDialog.C
-    QExternal.C
-    QExternalDialog.C
-    QFloat.C
-    QFloatDialog.C
-    QGraphics.C
-    QGraphicsDialog.C
-    QInclude.C
-    QIncludeDialog.C
-    QIndex.C
-    QIndexDialog.C
-    QLImage.C
-    QLMenubar.C
-    QLPainter.C
-    QLPopupMenu.C
-    QLPrintDialog.C
-    QLToolbar.C
-    QLog.C
-    QLogDialog.C
-    QLyXKeySym.C
-    QMath.C
-    QMathDialog.C
-    QMathMatrixDialog.C
-    QNomencl.C
-    QNomenclDialog.C
-    QNote.C
-    QNoteDialog.C
-    QParagraph.C
-    QParagraphDialog.C
-    QPrefs.C
-    QPrefsDialog.C
-    QPrint.C
-    QRef.C
-    QRefDialog.C
-    QSearch.C
-    QSearchDialog.C
-    QSendto.C
-    QSendtoDialog.C
-    QShowFile.C
-    QShowFileDialog.C
-    QSpellchecker.C
-    QSpellcheckerDialog.C
-    QTabular.C
-    QTabularCreate.C
-    QTabularCreateDialog.C
-    QTabularDialog.C
-    QTexinfo.C
-    QTexinfoDialog.C
-    QThesaurus.C
-    QThesaurusDialog.C
-    QToc.C
-    QURLDialog.C
-    QVSpace.C
-    QVSpaceDialog.C
-    QViewSource.C
-    QViewSourceDialog.C
-    QWrap.C
-    QWrapDialog.C
-    Qt2BC.C
-    TocModel.C
-    TocWidget.C
-    UrlView.C
-    checkedwidgets.C
-    emptytable.C
-    FloatPlacement.C
-    iconpalette.C
-    lengthcombo.C
-    panelstack.C
-    qfontexample.C
-    qsetborder.C
-    qtTimeout.C
-    qt_helpers.C
-    socket_callback.C
-    validators.C
+    Action.cpp
+    BulletsModule.cpp
+    CheckedLineEdit.cpp
+    ColorCache.cpp
+    Dialogs.cpp
+    EmptyTable.cpp
+    FileDialog.cpp
+    FloatPlacement.cpp
+    GuiApplication.cpp
+    GuiClipboard.cpp
+    GuiFontLoader.cpp
+    GuiFontMetrics.cpp
+    GuiImplementation.cpp
+    GuiSelection.cpp
+    GuiView.cpp
+    GuiWorkArea.cpp
+    IconPalette.cpp
+    InsertTableWidget.cpp
+    KeySymbol.cpp
+    LengthCombo.cpp
+    LyXFileDialog.cpp
+    PanelStack.cpp
+    QAbout.cpp
+    QBibitem.cpp
+    QBibtex.cpp
+    QBox.cpp
+    QBranch.cpp
+    QBranches.cpp
+    QChanges.cpp
+    QCharacter.cpp
+    QCitation.cpp
+    QCitationDialog.cpp
+    QCommandBuffer.cpp
+    QCommandEdit.cpp
+    QDelimiterDialog.cpp
+    QDialogView.cpp
+    QDocument.cpp
+    QERT.cpp
+    QErrorList.cpp
+    QExternal.cpp
+    QFloat.cpp
+    QFloatDialog.cpp
+    QFontExample.cpp
+    QGraphics.cpp
+    QGraphicsDialog.cpp
+    QInclude.cpp
+    QIndex.cpp
+    QKeySymbol.cpp
+    QListings.cpp
+    QLImage.cpp
+    QLMenubar.cpp
+    QLPainter.cpp
+    QLPopupMenu.cpp
+    QLPrintDialog.cpp
+    QLToolbar.cpp
+    QLog.cpp
+    QMathMatrixDialog.cpp
+    QNomencl.cpp
+    QNote.cpp
+    QParagraph.cpp
+    QPrefs.cpp
+    QPrint.cpp
+    QRef.cpp
+    QSearch.cpp
+    QSendto.cpp
+    QSetBorder.cpp
+    QShowFile.cpp
+    QSpellchecker.cpp
+    QTabular.cpp
+    QTabularCreate.cpp
+    QTexinfo.cpp
+    QThesaurus.cpp
+    QToc.cpp
+    QURLDialog.cpp
+    QVSpace.cpp
+    QViewSource.cpp
+    QWrap.cpp
+    Qt2BC.cpp
+    TocModel.cpp
+    TocWidget.cpp
+    UrlView.cpp
+    Validator.cpp
+    alert_pimpl.cpp
+    qtTimeout.cpp
+    qt_helpers.cpp
+    socket_callback.cpp
 ''')
 
 
-src_client_header_files = Split('''
-    debug.h
-    messages.h
+src_frontends_qt4_moc_files = Split('''
+    Action.cpp
+    BulletsModule.cpp
+    EmptyTable.cpp
+    FloatPlacement.cpp
+    GuiApplication.cpp
+    GuiImplementation.cpp
+    GuiView.cpp
+    GuiWorkArea.cpp
+    IconPalette.cpp
+    InsertTableWidget.cpp
+    LengthCombo.cpp
+    LyXFileDialog.cpp
+    PanelStack.cpp
+    QAbout.cpp
+    QBibitem.cpp
+    QBibtex.cpp
+    QBox.cpp
+    QBranch.cpp
+    QBranches.cpp
+    QChanges.cpp
+    QCharacter.cpp
+    QCitationDialog.cpp
+    QCommandBuffer.cpp
+    QCommandEdit.cpp
+    QDelimiterDialog.cpp
+    QDialogView.cpp
+    QDocument.cpp
+    QERT.cpp
+    QErrorList.cpp
+    QExternal.cpp
+    QFloatDialog.cpp
+    QGraphicsDialog.cpp
+    QInclude.cpp
+    QIndex.cpp
+    QListings.cpp
+    QLMenubar.cpp
+    QLPopupMenu.cpp
+    QLPrintDialog.cpp
+    QLToolbar.cpp
+    QLog.cpp
+    QLog.cpp
+    QMathMatrixDialog.cpp
+    QNomencl.cpp
+    QNomencl.cpp
+    QNote.cpp
+    QParagraph.cpp
+    QPrefs.cpp
+    QRef.cpp
+    QSearch.cpp
+    QSendto.cpp
+    QSetBorder.cpp
+    QShowFile.cpp
+    QSpellchecker.cpp
+    QTabular.cpp
+    QTabularCreate.cpp
+    QTexinfo.cpp
+    QThesaurus.cpp
+    QToc.cpp
+    QURLDialog.cpp
+    QVSpace.cpp
+    QViewSource.cpp
+    QWrap.cpp
+    TocModel.cpp
+    TocWidget.cpp
+    Validator.cpp
+    socket_callback.cpp
+''')
+
+
+src_frontends_qt4_extra_files = Split('''
+    ChangeLog
+    GuiFontMetrics.h
+    Makefile.am
+    Makefile.dialogs
+    README
+    pch.h
 ''')
 
 
-src_client_files = Split('''
-    boost.C
-    client.C
-    debug.C
-    gettext.C
-    messages.C
+src_frontends_qt4_ui_files = Split('''
+    AboutUi.ui
+    AskForTextUi.ui
+    BibitemUi.ui
+    BiblioUi.ui
+    BibtexAddUi.ui
+    BibtexUi.ui
+    BoxUi.ui
+    BranchUi.ui
+    BranchesUi.ui
+    BulletsUi.ui
+    ChangesUi.ui
+    CharacterUi.ui
+    CitationUi.ui
+    DelimiterUi.ui
+    DocumentUi.ui
+    ERTUi.ui
+    ErrorListUi.ui
+    ExternalUi.ui
+    FloatPlacementUi.ui
+    FloatUi.ui
+    FontUi.ui
+    GraphicsUi.ui
+    IncludeUi.ui
+    IndexUi.ui
+    LaTeXUi.ui
+    LanguageUi.ui
+    ListingsUi.ui
+    LogUi.ui
+    MarginsUi.ui
+    MathMatrixUi.ui
+    MathsUi.ui
+    NomenclUi.ui
+    NoteUi.ui
+    NumberingUi.ui
+    PageLayoutUi.ui
+    ParagraphUi.ui
+    PreambleUi.ui
+    PrefColorsUi.ui
+    PrefConvertersUi.ui
+    PrefCopiersUi.ui
+    PrefCygwinPathUi.ui
+    PrefDateUi.ui
+    PrefDisplayUi.ui
+    PrefFileformatsUi.ui
+    PrefIdentityUi.ui
+    PrefKeyboardUi.ui
+    PrefLanguageUi.ui
+    PrefLatexUi.ui
+    PrefPathsUi.ui
+    PrefPlaintextUi.ui
+    PrefPrinterUi.ui
+    PrefScreenFontsUi.ui
+    PrefSpellcheckerUi.ui
+    PrefUi.ui
+    PrefsUi.ui
+    PrintUi.ui
+    RefUi.ui
+    SearchUi.ui
+    SendtoUi.ui
+    ShowFileUi.ui
+    SpellcheckerUi.ui
+    TabularCreateUi.ui
+    TabularUi.ui
+    TexinfoUi.ui
+    TextLayoutUi.ui
+    ThesaurusUi.ui
+    TocUi.ui
+    URLUi.ui
+    VSpaceUi.ui
+    ViewSourceUi.ui
+    WrapUi.ui
 ''')
 
 
-src_tex2lyx_header_files = Split('''
-    Spacing.h
-    context.h
-    lyxfont.h
-    tex2lyx.h
-    texparser.h
+src_frontends_qt4_ui_extra_files = Split('''
+    Makefile.am
+    compile_uic.sh
 ''')
 
 
-src_tex2lyx_files = Split('''
-    FloatList.C
-    Floating.C
-    boost.C
-    context.C
-    counters.C
-    gettext.C
-    lengthcommon.C
-    lyxfont.C
-    lyxlayout.C
-    lyxlex.C
-    lyxlex_pimpl.C
-    lyxtextclass.C
-    math.C
-    preamble.C
-    table.C
-    tex2lyx.C
-    texparser.C
-    text.C
+src_insets_header_files = Split('''
+    ExternalSupport.h
+    ExternalTemplate.h
+    ExternalTransforms.h
+    Inset.h
+    InsetBibitem.h
+    InsetBibtex.h
+    InsetBox.h
+    InsetBranch.h
+    InsetCaption.h
+    InsetCharStyle.h
+    InsetCitation.h
+    InsetCollapsable.h
+    InsetCommand.h
+    InsetCommandParams.h
+    InsetERT.h
+    InsetEnvironment.h
+    InsetExternal.h
+    InsetFloat.h
+    InsetFloatList.h
+    InsetFoot.h
+    InsetFootlike.h
+    InsetGraphics.h
+    InsetGraphicsParams.h
+    InsetHFill.h
+    InsetInclude.h
+    InsetIndex.h
+    InsetLabel.h
+    InsetLine.h
+    InsetListings.h
+    InsetListingsParams.h
+    InsetMarginal.h
+    InsetNewline.h
+    InsetNomencl.h
+    InsetNote.h
+    InsetOptArg.h
+    InsetPagebreak.h
+    InsetQuotes.h
+    InsetRef.h
+    InsetSpace.h
+    InsetSpecialChar.h
+    InsetTOC.h
+    InsetTabular.h
+    InsetText.h
+    InsetUrl.h
+    InsetVSpace.h
+    InsetWrap.h
+    MailInset.h
+    RenderBase.h
+    RenderButton.h
+    RenderGraphic.h
+    RenderPreview.h
 ''')
 
 
-src_header_files = Split('''
-    Bidi.h
-    BranchList.h
-    BufferView.h
-    Bullet.h
-    Chktex.h
-    Color.h
-    ConverterCache.h
-    CutAndPaste.h
-    DepTable.h
-    FloatList.h
-    Floating.h
-    FontIterator.h
-    FuncStatus.h
-    InsetList.h
-    LColor.h
-    LaTeX.h
-    LaTeXFeatures.h
-    LyXAction.h
-    MenuBackend.h
-    ParagraphList.h
-    ParagraphList_fwd.h
-    ParagraphParameters.h
-    PrinterParams.h
-    RowList_fwd.h
-    Sectioning.h
-    Spacing.h
-    SpellBase.h
-    Thesaurus.h
-    TocBackend.h
-    ToolbarBackend.h
-    UpdateFlags.h
-    Variables.h
-    WordLangTuple.h
-    aspell_local.h
-    author.h
-    box.h
-    buffer.h
-    buffer_funcs.h
-    bufferlist.h
-    bufferparams.h
-    bufferview_funcs.h
-    changes.h
-    converter.h
-    coordcache.h
-    counters.h
-    cursor.h
-    cursor_slice.h
-    debug.h
-    dimension.h
-    dispatchresult.h
-    dociterator.h
-    encoding.h
-    errorlist.h
-    exporter.h
-    factory.h
-    format.h
-    funcrequest.h
-    gettext.h
-    graph.h
-    importer.h
-    insetiterator.h
-    intl.h
-    ispell.h
-    kbmap.h
-    kbsequence.h
-    language.h
-    layout.h
-    lengthcommon.h
-    lfuns.h
-    lyx_cb.h
-    lyx_main.h
-    lyx_sty.h
-    lyxfind.h
-    lyxfont.h
-    lyxfunc.h
-    lyxgluelength.h
-    lyxlayout.h
-    lyxlayout_ptr_fwd.h
-    lyxlength.h
-    lyxlex.h
-    lyxlex_pimpl.h
-    lyxrc.h
-    lyxrow.h
-    lyxserver.h
-    lyxsocket.h
-    lyxtext.h
-    lyxtextclass.h
-    lyxtextclasslist.h
-    lyxvc.h
-    messages.h
-    metricsinfo.h
-    mover.h
-    output.h
-    output_docbook.h
-    output_latex.h
-    output_plaintext.h
-    outputparams.h
-    paper.h
-    paragraph.h
-    paragraph_funcs.h
-    paragraph_pimpl.h
-    ParagraphMetrics.h
-    pariterator.h
-    pspell.h
-    rowpainter.h
-    session.h
-    sgml.h
-    tabular.h
-    tex-accent.h
-    tex-strings.h
-    texrow.h
-    TextMetrics.h
-    toc.h
-    trans.h
-    trans_decl.h
-    trans_mgr.h
-    undo.h
-    vc-backend.h
-    version.h
-    vspace.h
+src_insets_files = Split('''
+    ExternalSupport.cpp
+    ExternalTemplate.cpp
+    ExternalTransforms.cpp
+    Inset.cpp
+    InsetBibitem.cpp
+    InsetBibtex.cpp
+    InsetBox.cpp
+    InsetBranch.cpp
+    InsetCaption.cpp
+    InsetCharStyle.cpp
+    InsetCitation.cpp
+    InsetCollapsable.cpp
+    InsetCommand.cpp
+    InsetCommandParams.cpp
+    InsetERT.cpp
+    InsetEnvironment.cpp
+    InsetExternal.cpp
+    InsetFloat.cpp
+    InsetFloatList.cpp
+    InsetFoot.cpp
+    InsetFootlike.cpp
+    InsetGraphics.cpp
+    InsetGraphicsParams.cpp
+    InsetHFill.cpp
+    InsetInclude.cpp
+    InsetIndex.cpp
+    InsetLabel.cpp
+    InsetLine.cpp
+    InsetListings.cpp
+    InsetListingsParams.cpp
+    InsetMarginal.cpp
+    InsetNewline.cpp
+    InsetNomencl.cpp
+    InsetNote.cpp
+    InsetOptArg.cpp
+    InsetPagebreak.cpp
+    InsetQuotes.cpp
+    InsetRef.cpp
+    InsetSpace.cpp
+    InsetSpecialChar.cpp
+    InsetTOC.cpp
+    InsetTabular.cpp
+    InsetText.cpp
+    InsetUrl.cpp
+    InsetVSpace.cpp
+    InsetWrap.cpp
+    MailInset.cpp
+    RenderButton.cpp
+    RenderGraphic.cpp
+    RenderPreview.cpp
+''')
+
+
+src_insets_extra_files = Split('''
+    ChangeLog
+    InsetTheorem.cpp
+    InsetTheorem.h
+    Makefile.am
+    pch.h
 ''')
 
 
-src_pre_files = Split('''
-    Bidi.C
-    BranchList.C
-    BufferView.C
-    Bullet.C
-    Chktex.C
-    Color.C
-    ConverterCache.C
-    CutAndPaste.C
-    DepTable.C
-    FloatList.C
-    Floating.C
-    FontIterator.C
-    FuncStatus.C
-    InsetList.C
-    LColor.C
-    LaTeX.C
-    LaTeXFeatures.C
-    LyXAction.C
-    MenuBackend.C
-    ParagraphParameters.C
-    Spacing.C
-    TocBackend.C
-    ToolbarBackend.C
-    author.C
-    boost.C
-    buffer.C
-    buffer_funcs.C
-    bufferlist.C
-    bufferparams.C
-    bufferview_funcs.C
-    changes.C
-    converter.C
-    coordcache.C
-    counters.C
-    cursor.C
-    cursor_slice.C
-    debug.C
-    dociterator.C
-    encoding.C
-    errorlist.C
-    exporter.C
-    factory.C
-    format.C
-    funcrequest.C
-    gettext.C
-    graph.C
-    importer.C
-    insetiterator.C
-    intl.C
-    kbmap.C
-    kbsequence.C
-    language.C
-    lengthcommon.C
-    lyx_cb.C
-    lyx_main.C
-    lyx_sty.C
-    lyxfind.C
-    lyxfont.C
-    lyxfunc.C
-    lyxgluelength.C
-    lyxlayout.C
-    lyxlength.C
-    lyxlex.C
-    lyxlex_pimpl.C
-    lyxrc.C
-    lyxrow.C
-    lyxserver.C
-    lyxsocket.C
-    lyxtextclass.C
-    lyxtextclasslist.C
-    lyxvc.C
-    messages.C
-    metricsinfo.C
-    mover.C
-    output.C
-    output_docbook.C
-    output_latex.C
-    output_plaintext.C
-    outputparams.C
-    paragraph.C
-    paragraph_funcs.C
-    paragraph_pimpl.C
-    ParagraphMetrics.C
-    pariterator.C
-    rowpainter.C
-    session.C
-    sgml.C
-    tex-accent.C
-    tex-strings.C
-    texrow.C
-    text.C
-    text2.C
-    text3.C
-    TextMetrics.C
-    toc.C
-    trans.C
-    trans_mgr.C
-    undo.C
-    vc-backend.C
-    version.C
-    vspace.C
+intl_header_files = Split('''
+    eval-plural.h
+    gettextP.h
+    gmo.h
+    hash-string.h
+    loadinfo.h
+    localcharset.h
+    os2compat.h
+    plural-exp.h
+    printf-args.h
+    printf-parse.h
+    relocatable.h
+    vasnprintf.h
+    vasnwprintf.h
+    wprintf-parse.h
+    xsize.h
 ''')
 
 
-src_post_files = Split('''
-    tabular.C
-    dimension.C
-    PrinterParams.C
-    box.C
-    Thesaurus.C
-    SpellBase.C
+intl_files = Split('''
+    bindtextdom.c
+    dcgettext.c
+    dcigettext.c
+    dcngettext.c
+    dgettext.c
+    dngettext.c
+    explodename.c
+    finddomain.c
+    gettext.c
+    intl-compat.c
+    l10nflist.c
+    loadmsgcat.c
+    localcharset.c
+    localealias.c
+    localename.c
+    log.c
+    ngettext.c
+    osdep.c
+    plural-exp.c
+    plural.c
+    printf.c
+    relocatable.c
+    textdomain.c
+''')
+
+
+intl_extra_files = Split('''
+    ChangeLog
+    VERSION
+    config.charset
+    libgnuintl.h.in
+    locale.alias
+    os2compat.c
+    plural.y
+    printf-args.c
+    printf-parse.c
+    ref-add.sin
+    ref-del.sin
+    vasnprintf.c
+''')
+
+
+config_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    common.am
+    config.guess
+    config.rpath
+    config.sub
+    depcomp
+    install-sh
+    libtool.m4
+    ltmain.sh
+    lyxinclude.m4
+    missing
+    mkinstalldirs
+    pkg.m4
+    py-compile
+    qt4.m4
+    spell.m4
+''')
+
+
+sourcedoc_extra_files = Split('''
+    Doxyfile.in
+    Makefile.am
+''')
+
+
+po_extra_files = Split('''
+    ChangeLog
+    LINGUAS
+    Makefile.in.in
+    Makevars
+    POTFILES.in
+    README
+    Rules-quot
+    bg.po
+    boldquot.sed
+    ca.po
+    cs.po
+    da.po
+    de.po
+    en@boldquot.header
+    en@quot.header
+    es.po
+    eu.po
+    fi.po
+    fr.po
+    gl.po
+    he.po
+    hu.po
+    insert-header.sin
+    it.po
+    ja.po
+    ko.po
+    lyx_pot.py
+    nb.po
+    nl.po
+    nn.po
+    pl.po
+    pocheck.pl
+    postats.sh
+    pt.po
+    quot.sed
+    remove-potcdate.sin
+    ro.po
+    ru.po
+    sk.po
+    sl.po
+    sv.po
+    tr.po
+    wa.po
+    zh.po
 ''')
 
 
 lib_files = Split('''
     CREDITS
     chkconfig.ltx
-    external_templates
+    configure.py
     encodings
+    external_templates
     languages
     symbols
     syntax.default
     unicodesymbols
-    configure.py
-''')
-
-
-# do not install, ignore
-lib_image_noinst_files = Split('''
-    images/README
-    images/font-smallcaps.xpm
-    images/math/ams_arrows.xbm
-    images/math/ams_misc.xbm
-    images/math/ams_nrel.xbm
-    images/math/ams_ops.xbm
-    images/math/ams_rel.xbm
-    images/math/arrows.xbm
-    images/math/bop.xbm
-    images/math/brel.xbm
-    images/math/deco.xbm
-    images/math/deco.xpm
-    images/math/delim0.xpm
-    images/math/delim1.xpm
-    images/math/delim.xbm
-    images/math/dots.xbm
-    images/math/font.xbm
-    images/math/greek.xbm
-    images/math/misc.xbm
-    images/math/varsz.xbm
-''')
-
-
-lib_bind_de_files = Split('''
-    menus.bind
-''')
-
-lib_bind_fi_files = Split('''
-    menus.bind
-''')
-
-lib_bind_pt_files = Split('''
-    menus.bind
-''')
-
-lib_bind_sv_files = Split('''
-    menus.bind
-''')
-
-lib_bind_files = Split('''
-    broadway.bind
-    cua.bind
-    cyrkeys.bind
-    emacs.bind
-    greekkeys.bind
-    hollywood.bind
-    latinkeys.bind
-    mac.bind
-    math.bind
-    menus.bind
-    sciword.bind
-    xemacs.bind
-    aqua.bind
-''')
-
-
-lib_examples_ca_files = Split('''
-    splash.lyx
-''')
-
-lib_examples_cs_files = Split('''
-    splash.lyx
-''')
-
-lib_examples_da_files = Split('''
-    splash.lyx
-''')
-
-lib_examples_de_files = Split('''
-    ItemizeBullets.lyx
-    Lebenslauf.lyx
-    Minipage.lyx
-    TableExamples.lyx
-    Waehrungen.lyx
-    beispiel_gelyxt.lyx
-    beispiel_roh.lyx
-    decimal.lyx
-    splash.lyx
-    mathed.lyx
-    multicol.lyx
-''')
-
-lib_examples_es_files = Split('''
-    ejemplo_con_lyx.lyx
-    ejemplo_sin_lyx.lyx
-    splash.lyx
-''')
-
-lib_examples_eu_files = Split('''
-    adibide_gordina.lyx
-    adibide_lyx-atua.lyx
-    splash.lyx
-''')
-
-lib_examples_fr_files = Split('''
-    AlignementDecimal.lyx
-    CV.lyx
-    ExemplesTableaux.lyx
-    Foils.lyx
-    ListesPuces.lyx
-    Minipage.lyx
-    exemple_brut.lyx
-    exemple_lyxifie.lyx
-    mathed.lyx
-    multicol.lyx
-    splash.lyx
 ''')
 
-lib_examples_he_files = Split('''
-    example_raw.lyx
-    he_example_lyxified.lyx
-    he_example_raw.lyx
-''')
 
-lib_examples_hu_files = Split('''
-    splash.lyx
+lib_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    autocorrect
+    build-listerrors
+    generate_contributions.py
 ''')
 
-lib_examples_it_files = Split('''
-    ItemizeBullets.lyx
-    splash.lyx
-''')
 
-lib_examples_nl_files = Split('''
-    multicol.lyx
-    opsommingstekens.lyx
-    splash.lyx
-    voorbeeld_ruw.lyx
-    voorbeeld_verlyxt.lyx
+lib_kbd_files = Split('''
+    american-2.kmap
+    american.kmap
+    arabic.kmap
+    bg-bds-1251.kmap
+    brazil.kmap
+    brazil2.kmap
+    czech-prg.kmap
+    czech.kmap
+    espanol.kmap
+    european.kmap
+    francais.kmap
+    french.kmap
+    german-2.kmap
+    german-3.kmap
+    german.kmap
+    greek.kmap
+    hebrew.kmap
+    koi8-r.kmap
+    koi8-u.kmap
+    latvian.kmap
+    magyar-2.kmap
+    magyar-3.kmap
+    magyar.kmap
+    null.kmap
+    polish.kmap
+    polski.kmap
+    portuges.kmap
+    romanian.kmap
+    serbian.kmap
+    serbocroatian.kmap
+    sf.kmap
+    sg.kmap
+    slovak.kmap
+    slovene.kmap
+    thai-kedmanee.kmap
+    transilvanian.kmap
+    turkish-f.kmap
+    turkish.kmap
 ''')
 
-lib_examples_pl_files = Split('''
-    splash.lyx
-''')
 
-lib_examples_pt_files = Split('''
-    splash.lyx
+lib_templates_files = Split('''
+    IEEEtran.lyx
+    README.new_templates
+    aa.lyx
+    aastex.lyx
+    agu_article.lyx
+    beamer-conference-ornate-20min.lyx
+    de_beamer-conference-ornate-20min.lyx
+    dinbrief.lyx
+    docbook_article.lyx
+    elsart.lyx
+    fr_beamer-conference-ornate-20min.lyx
+    g-brief-de.lyx
+    g-brief-en.lyx
+    g-brief2.lyx
+    hollywood.lyx
+    ijmpc.lyx
+    ijmpd.lyx
+    iop-article.lyx
+    kluwer.lyx
+    koma-letter2.lyx
+    latex8.lyx
+    letter.lyx
+    revtex.lyx
+    revtex4.lyx
+    slides.lyx
 ''')
 
-lib_examples_ru_files = Split('''
-    splash.lyx
-''')
 
-lib_examples_sl_files = Split('''
-    primer_lyxan.lyx
-    primer_surov.lyx
-    splash.lyx
+lib_ui_files = Split('''
+    classic.ui
+    default.ui
+    stdmenus.inc
+    stdtoolbars.inc
 ''')
 
-lib_examples_ro_files = Split('''
-    splash.lyx
-''')
 
-lib_examples_files = Split('''
-    Foils.lyx
-    ItemizeBullets.lyx
-    Literate.lyx
-    Minipage.lyx
-    TableExamples.lyx
-    aa_sample.lyx
-    aas_sample.lyx
-    amsart-test.lyx
-    amsbook-test.lyx
-    beamer-g4.jpg
-    beamer-g4-mask.jpg
-    beamer-icsi-logo.pdf
-    beamer-knight1-mask.png
-    beamer-knight1.png
-    beamer-knight2-mask.png
-    beamer-knight2.png
-    beamer-knight3-mask.png
-    beamer-knight3.png
-    beamer-knight4-mask.png
-    beamer-knight4.png
-    beamerlyxexample1.lyx
-    chess-article.lyx
-    chessgame.lyx
-    currency.lyx
-    cv.lyx
-    decimal.lyx
-    docbook_article.lyx
-    example_lyxified.lyx
-    example_raw.lyx
-    iecc05.fen
-    iecc07.fen
-    iecc12.fen
-    landslide.lyx
-    listerrors.lyx
-    mathed.lyx
-    multicol.lyx
-    noweb2lyx.lyx
-    script_form.lyx
-    splash.lyx
-    g-brief2.lyx
+lib_fonts_files = Split('''
+    BaKoMaFontLicense.txt
+    ReadmeBaKoMa4LyX.txt
+    cmex10.ttf
+    cmmi10.ttf
+    cmr10.ttf
+    cmsy10.ttf
+    eufm10.ttf
+    msam10.ttf
+    msbm10.ttf
+    wasy10.ttf
 ''')
 
 
 lib_images_files = Split('''
-    all-changes-reject.xpm
     all-changes-accept.xpm
+    all-changes-reject.xpm
     amssymb.xpm
     banner.png
     bookmark-goto.xpm
@@ -1512,6 +1563,7 @@ lib_images_files = Split('''
     changes-track.xpm
     copy.xpm
     cut.xpm
+    demote.xpm
     depth-decrement.xpm
     depth-increment.xpm
     dialog-preferences.xpm
@@ -1523,9 +1575,9 @@ lib_images_files = Split('''
     dialog-show_findreplace.xpm
     dialog-show_mathdelimiter.xpm
     dialog-show_mathmatrix.xpm
-    dialog-show_mathpanel.xpm
     dialog-show_print.xpm
     dialog-show_spellchecker.xpm
+    dialog-toggle_toc.xpm
     down.xpm
     ert-insert.xpm
     file-open.xpm
@@ -1539,9 +1591,9 @@ lib_images_files = Split('''
     footnote-insert.xpm
     index-insert.xpm
     label-insert.xpm
-    layout.xpm
     layout-document.xpm
     layout-paragraph.xpm
+    layout.xpm
     layout_Description.xpm
     layout_Enumerate.xpm
     layout_Itemize.xpm
@@ -1553,6 +1605,7 @@ lib_images_files = Split('''
     lyx.xpm
     marginalnote-insert.xpm
     math-display.xpm
+    math-matrix.xpm
     math-mode.xpm
     math-subscript.xpm
     math-superscript.xpm
@@ -1560,11 +1613,13 @@ lib_images_files = Split('''
     note-insert.xpm
     note-next.xpm
     paste.xpm
+    promote.xpm
     psnfss1.xpm
     psnfss2.xpm
     psnfss3.xpm
     psnfss4.xpm
     redo.xpm
+    reload.xpm
     standard.xpm
     tabular-feature_align-center.xpm
     tabular-feature_align-left.xpm
@@ -1577,7 +1632,9 @@ lib_images_files = Split('''
     tabular-feature_set-all-lines.xpm
     tabular-feature_set-longtabular.xpm
     tabular-feature_set-rotate-cell.xpm
+    tabular-feature_toggle-rotate-cell.xpm
     tabular-feature_set-rotate-tabular.xpm
+    tabular-feature_toggle-rotate-tabular.xpm
     tabular-feature_toggle-line-bottom.xpm
     tabular-feature_toggle-line-left.xpm
     tabular-feature_toggle-line-right.xpm
@@ -1588,7 +1645,9 @@ lib_images_files = Split('''
     tabular-feature_valign-top.xpm
     tabular-insert.xpm
     thesaurus-entry.xpm
-    toc-view.xpm
+    toolbar-toggle_math.xpm
+    toolbar-toggle_math_panels.xpm
+    toolbar-toggle_table.xpm
     undo.xpm
     unknown.xpm
     up.xpm
@@ -1596,25 +1655,21 @@ lib_images_files = Split('''
 ''')
 
 
+lib_images_extra_files = Split('''
+    README
+    font-smallcaps.xpm
+''')
+
+
 lib_images_math_files = Split('''
-    style.xbm
-    font.xpm
-    delim.xpm
-    equation.xpm
-    matrix.xpm
-    space.xpm
-    sqrt-square.xpm
-    style.xpm
-    sub.xpm
-    super.xpm
     Bbbk.xpm
     Finv.xpm
     Game.xpm
     Im.xpm
     Lleftarrow.xpm
-    Rrightarrow.xpm
     Lsh.xpm
     Re.xpm
+    Rrightarrow.xpm
     Rsh.xpm
     Vert.xpm
     Vvdash.xpm
@@ -1703,6 +1758,7 @@ lib_images_math_files = Split('''
     ddagger.xpm
     ddot.xpm
     ddots.xpm
+    delim.xpm
     delta.xpm
     delta2.xpm
     diagdown.xpm
@@ -1715,9 +1771,9 @@ lib_images_math_files = Split('''
     dot.xpm
     doteq.xpm
     doteqdot.xpm
+    dotplus.xpm
     dotsint.xpm
     dotsintop.xpm
-    dotplus.xpm
     doublebarwedge.xpm
     downarrow.xpm
     downarrow2.xpm
@@ -1731,16 +1787,19 @@ lib_images_math_files = Split('''
     eqcirc.xpm
     eqslantgtr.xpm
     eqslantless.xpm
+    equation.xpm
     equiv.xpm
     eta.xpm
     eth.xpm
     exists.xpm
     fallingdotseq.xpm
     flat.xpm
+    font.xpm
     forall.xpm
-    frac.xpm
     frac-square.xpm
+    frac.xpm
     frown.xpm
+    functions.xpm
     gamma.xpm
     gamma2.xpm
     geq.xpm
@@ -1772,8 +1831,8 @@ lib_images_math_files = Split('''
     iiiintop.xpm
     iiint.xpm
     iiintop.xpm
-    iintop.xpm
     iint.xpm
+    iintop.xpm
     imath.xpm
     in.xpm
     infty.xpm
@@ -1851,6 +1910,7 @@ lib_images_math_files = Split('''
     mathcal_O.xpm
     mathcircumflex.xpm
     mathrm_T.xpm
+    matrix.xpm
     measuredangle.xpm
     mho.xpm
     mid.xpm
@@ -1979,6 +2039,7 @@ lib_images_math_files = Split('''
     smallsetminus.xpm
     smallsmile.xpm
     smile.xpm
+    space.xpm
     spadesuit.xpm
     sphericalangle.xpm
     sqcap.xpm
@@ -1987,6 +2048,7 @@ lib_images_math_files = Split('''
     sqiintop.xpm
     sqint.xpm
     sqintop.xpm
+    sqrt-square.xpm
     sqrt.xpm
     sqsubset.xpm
     sqsubseteq.xpm
@@ -1994,6 +2056,9 @@ lib_images_math_files = Split('''
     sqsupseteq.xpm
     square.xpm
     star.xpm
+    style.xbm
+    style.xpm
+    sub.xpm
     subset.xpm
     subset2.xpm
     subseteq.xpm
@@ -2008,6 +2073,7 @@ lib_images_math_files = Split('''
     succnsim.xpm
     succsim.xpm
     sum.xpm
+    super.xpm
     supset.xpm
     supset2.xpm
     supseteq.xpm
@@ -2017,8 +2083,8 @@ lib_images_math_files = Split('''
     surd.xpm
     swarrow.xpm
     tau.xpm
-    textrm_Oe.xpm
     textrm_AA.xpm
+    textrm_Oe.xpm
     therefore.xpm
     theta.xpm
     theta2.xpm
@@ -2061,6 +2127,7 @@ lib_images_math_files = Split('''
     varphi.xpm
     varpi.xpm
     varpropto.xpm
+    varrho.xpm
     varsigma.xpm
     varsubsetneq.xpm
     varsubsetneqq.xpm
@@ -2089,45 +2156,448 @@ lib_images_math_files = Split('''
 ''')
 
 
-lib_kbd_files = Split('''
-    american-2.kmap
-    american.kmap
-    arabic.kmap
-    bg-bds-1251.kmap
-    brazil.kmap
-    brazil2.kmap
-    czech-prg.kmap
-    czech.kmap
-    european.kmap
-    francais.kmap
-    french.kmap
-    german-2.kmap
-    german-3.kmap
-    german.kmap
-    greek.kmap
-    hebrew.kmap
-    koi8-r.kmap
-    koi8-u.kmap
-    latvian.kmap
-    magyar-2.kmap
-    magyar-3.kmap
-    magyar.kmap
-    null.kmap
-    polish.kmap
-    polski.kmap
-    portuges.kmap
-    romanian.kmap
-    serbian.kmap
-    serbocroatian.kmap
-    sf.kmap
-    sg.kmap
-    slovak.kmap
-    slovene.kmap
-    thai-kedmanee.kmap
-    transilvanian.kmap
-    turkish-f.kmap
-    turkish.kmap
-    espanol.kmap
+lib_images_math_extra_files = Split('''
+    ams_arrows.xbm
+    ams_misc.xbm
+    ams_nrel.xbm
+    ams_ops.xbm
+    ams_rel.xbm
+    arrows.xbm
+    bop.xbm
+    brel.xbm
+    deco.xbm
+    deco.xpm
+    delim.xbm
+    delim0.xpm
+    delim1.xpm
+    dots.xbm
+    font.xbm
+    functions.xpm
+    greek.xbm
+    misc.xbm
+    varsz.xbm
+''')
+
+
+lib_images_attic_extra_files = Split('''
+    dialog-show_mathpanel.xpm
+''')
+
+
+lib_tex_files = Split('''
+    broadway.cls
+    hollywood.cls
+    lyxchess.sty
+    lyxskak.sty
+    revtex.cls
+''')
+
+
+lib_doc_files = Split('''
+    Customization.lyx
+    DocStyle.lyx
+    DummyDocument1.lyx
+    DummyDocument2.lyx
+    DummyTextDocument.txt
+    EmbeddedObjects.lyx
+    Extended.lyx
+    FAQ.lyx
+    Intro.lyx
+    LaTeXConfig.lyx.in
+    Reference.lyx
+    Tutorial.lyx
+    UserGuide.lyx
+''')
+
+
+lib_doc_clipart_files = Split('''
+    BoxInsetDefaultQt4.png
+    ChildDocumentQt4.png
+    CommentNoteImageQt4.png
+    ExternalMaterialQt4.png
+    FramedNoteImageQt4.png
+    GreyedOutNoteImageQt4.png
+    LyXNoteImageQt4.png
+    ShadedNoteImageQt4.png
+    endnotes.pdf
+    escher-lsd.eps
+    floatQt4.png
+    footnoteQt4.png
+    labelQt4.png
+    mobius.eps
+    platypus.eps
+    referenceQt4.png
+    with_fntright.pdf
+    without_fntright.pdf
+''')
+
+
+lib_doc_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    Makefile.depend
+    README.Documentation
+    depend.py
+    doc_toc.py
+''')
+
+
+lib_doc_cs_files = Split('''
+    Tutorial.lyx
+''')
+
+
+lib_doc_de_files = Split('''
+    Customization.lyx
+    Extended.lyx
+    FAQ.lyx
+    Intro.lyx
+    Tutorial.lyx
+    UserGuide.lyx
+''')
+
+
+lib_doc_de_clipart_files = Split('''
+    FussnoteQt4.png
+''')
+
+
+lib_doc_da_files = Split('''
+    Intro.lyx
+''')
+
+
+lib_doc_es_files = Split('''
+    DocumentoPostizo1.lyx
+    DocumentoPostizo2.lyx
+    DocumentoTextoPostizo.txt
+    EmbeddedObjects.lyx
+    Extended.lyx
+    Intro.lyx
+    Tutorial.lyx
+''')
+
+
+lib_doc_es_clipart_files = Split('''
+    ComentNotaImagenQt4.png
+    CuadroMinipagQt4.png
+    DocumentoHijoQt4.png
+    GrisNotaImagenQt4.png
+    MaterialExternoQt4.png
+    NotaEnmarcadaImg.png
+    NotaLyXImagenQt4.png
+    NotaSombreadaImg.png
+    etiquetaQt4.png
+    flotanteQt4.png
+    notapieQt4.png
+    referenciaQt4.png
+''')
+
+
+lib_doc_eu_files = Split('''
+    Customization.lyx
+    Extended.lyx
+    FAQ.lyx
+    Intro.lyx
+    Tutorial.lyx
+    UserGuide.lyx
+''')
+
+
+lib_doc_fr_files = Split('''
+    Customization.lyx
+    Extended.lyx
+    FAQ.lyx
+    Intro.lyx
+    Tutorial.lyx
+    UserGuide.lyx
+''')
+
+
+lib_doc_gl_extra_files = Split('''
+    Intro.lyx
+    Tutorial.lyx
+''')
+
+
+lib_doc_he_files = Split('''
+    Intro.lyx
+    Tutorial.lyx
+''')
+
+
+lib_doc_hu_files = Split('''
+    Intro.lyx
+    Tutorial.lyx
+''')
+
+
+lib_doc_it_files = Split('''
+    Customization.lyx
+    Intro.lyx
+    Tutorial.lyx
+    UserGuide.lyx
+''')
+
+
+lib_doc_nb_files = Split('''
+    Intro.lyx
+''')
+
+
+lib_doc_nl_files = Split('''
+    Intro.lyx
+    Tutorial.lyx
+''')
+
+
+lib_doc_pl_files = Split('''
+    Extended.lyx
+    Intro.lyx
+    Tutorial.lyx
+''')
+
+
+lib_doc_pt_files = Split('''
+    Intro.lyx
+    Tutorial.lyx
+''')
+
+
+lib_doc_ro_files = Split('''
+    Intro.lyx
+''')
+
+
+lib_doc_ru_files = Split('''
+    FAQ.lyx
+    Intro.lyx
+    Tutorial.lyx
+''')
+
+
+lib_doc_sl_files = Split('''
+    Intro.lyx
+    Tutorial.lyx
+''')
+
+
+lib_doc_sk_files = Split('''
+    Tutorial.lyx
+    UserGuide.lyx
+''')
+
+
+lib_doc_sv_files = Split('''
+    Intro.lyx
+    Tutorial.lyx
+''')
+
+
+lib_examples_files = Split('''
+    CV-image.eps
+    CV-image.png
+    Foils.lyx
+    ItemizeBullets.lyx
+    Literate.lyx
+    Minipage.lyx
+    aa_sample.lyx
+    aas_sample.lyx
+    amsart-test.lyx
+    amsbook-test.lyx
+    armenian-article.lyx
+    beamer-g4-mask.jpg
+    beamer-g4.jpg
+    beamer-icsi-logo.pdf
+    beamer-knight1-mask.png
+    beamer-knight1.png
+    beamer-knight2-mask.png
+    beamer-knight2.png
+    beamer-knight3-mask.png
+    beamer-knight3.png
+    beamer-knight4-mask.png
+    beamer-knight4.png
+    beamerlyxexample1.lyx
+    biblioExample.bib
+    chess-article.lyx
+    chessgame.lyx
+    currency.lyx
+    docbook_article.lyx
+    europeCV.lyx
+    example_lyxified.lyx
+    example_raw.lyx
+    iecc05.fen
+    iecc07.fen
+    iecc12.fen
+    landslide.lyx
+    listerrors.lyx
+    listings.lyx
+    mathed.lyx
+    modernCV.lyx
+    multicol.lyx
+    noweb2lyx.lyx
+    powerdot-example.lyx
+    script_form.lyx
+    simplecv.lyx
+    splash.lyx
+''')
+
+
+lib_examples_ca_files = Split('''
+    splash.lyx
+''')
+
+
+lib_examples_cs_files = Split('''
+    splash.lyx
+''')
+
+
+lib_examples_da_files = Split('''
+    splash.lyx
+''')
+
+
+lib_examples_de_files = Split('''
+    Dezimal.lyx
+    ItemizeBullets.lyx
+    Lebenslauf.lyx
+    Minipage.lyx
+    TabellenBeispiel.lyx
+    Waehrungen.lyx
+    beispiel_gelyxt.lyx
+    beispiel_roh.lyx
+    mathed.lyx
+    multicol.lyx
+    splash.lyx
+''')
+
+
+lib_examples_fa_files = Split('''
+    splash.lyx
+''')
+
+
+lib_examples_fr_files = Split('''
+    AlignementDecimal.lyx
+    simplecv.lyx
+    ExemplesTableaux.lyx
+    Foils.lyx
+    ListesPuces.lyx
+    Minipage.lyx
+    exemple_brut.lyx
+    exemple_lyxifie.lyx
+    mathed.lyx
+    multicol.lyx
+    splash.lyx
+''')
+
+
+lib_examples_es_files = Split('''
+    ejemplo_con_lyx.lyx
+    ejemplo_sin_lyx.lyx
+    splash.lyx
+''')
+
+
+lib_examples_eu_files = Split('''
+    adibide_gordina.lyx
+    adibide_lyx-atua.lyx
+    splash.lyx
+''')
+
+
+lib_examples_gl_extra_files = Split('''
+    exemplo_bruto.lyx
+    exemplo_lyxificado.lyx
+    splash.lyx
+''')
+
+
+lib_examples_he_files = Split('''
+    example_lyxified.lyx
+    example_raw.lyx
+    splash.lyx
+''')
+
+
+lib_examples_hu_files = Split('''
+    example_lyxified.lyx
+    example_raw.lyx
+    splash.lyx
+''')
+
+
+lib_examples_it_files = Split('''
+    ItemizeBullets.lyx
+    splash.lyx
+''')
+
+
+lib_examples_nl_files = Split('''
+    multicol.lyx
+    opsommingstekens.lyx
+    splash.lyx
+    voorbeeld_ruw.lyx
+    voorbeeld_verlyxt.lyx
+''')
+
+
+lib_examples_pl_files = Split('''
+    splash.lyx
+''')
+
+
+lib_examples_pt_files = Split('''
+    splash.lyx
+''')
+
+
+lib_examples_ro_files = Split('''
+    splash.lyx
+''')
+
+
+lib_examples_ru_files = Split('''
+    splash.lyx
+''')
+
+
+lib_examples_sl_files = Split('''
+    primer_lyxan.lyx
+    primer_surov.lyx
+    splash.lyx
+''')
+
+
+lib_lyx2lyx_files = Split('''
+    LyX.py
+    generate_encoding_info.py
+    lyx2lyx
+    lyx2lyx_lang.py
+    lyx_0_06.py
+    lyx_0_08.py
+    lyx_0_10.py
+    lyx_0_12.py
+    lyx_1_0.py
+    lyx_1_1.py
+    lyx_1_1_5.py
+    lyx_1_1_6_0.py
+    lyx_1_1_6_3.py
+    lyx_1_2.py
+    lyx_1_3.py
+    lyx_1_4.py
+    lyx_1_5.py
+    parser_tools.py
+    profiling.py
+    test_parser_tools.py
+''')
+
+
+lib_lyx2lyx_extra_files = Split('''
+    ChangeLog
+    Makefile.am
+    lyx2lyx_version.py.in
 ''')
 
 
@@ -2144,13 +2614,13 @@ lib_layouts_files = Split('''
     amsbook.layout
     apa.layout
     arab-article.layout
+    armenian-article.layout
     article.layout
     beamer.layout
     book.layout
     broadway.layout
     chess.layout
     cl2emult.layout
-    cv.layout
     dinbrief.layout
     docbook-book.layout
     docbook-chapter.layout
@@ -2174,6 +2644,7 @@ lib_layouts_files = Split('''
     hollywood.layout
     ijmpc.layout
     ijmpd.layout
+    iopart.layout
     isprs.layout
     jgrga.layout
     kluwer.layout
@@ -2191,6 +2662,7 @@ lib_layouts_files = Split('''
     mwbk.layout
     mwrep.layout
     paper.layout
+    powerdot.layout
     report.layout
     revtex.layout
     revtex4.layout
@@ -2201,11 +2673,16 @@ lib_layouts_files = Split('''
     scrreprt.layout
     seminar.layout
     siamltex.layout
+    simplecv.layout
     slides.layout
     spie.layout
     svglobal.layout
     svjog.layout
     svprobth.layout
+''')
+
+
+lib_layouts_inc_files = Split('''
     aapaper.inc
     agu_stdclass.inc
     agu_stdcounters.inc
@@ -2236,284 +2713,175 @@ lib_layouts_files = Split('''
     stdclass.inc
     stdcounters.inc
     stdfloats.inc
-    stdlayouts.inc
-    stdletter.inc
-    stdlists.inc
-    stdsections.inc
-    stdstarsections.inc
-    stdstruct.inc
-    stdtitle.inc
-    svjour.inc
-''')
-
-
-lib_scripts_files = Split('''
-    TeXFiles.py
-    clean_dvi.py
-    convertDefault.py
-    date.py
-    fen2ascii.py
-    fig2pdftex.py
-    fig2pstex.py
-    fig_copy.py
-    layout2layout.py
-    legacy_lyxpreview2ppm.py
-    listerrors
-    lyxpreview2bitmap.py
-    lyxpreview_tools.py
-    tex_copy.py
-''')
-
-
-lib_templates_files = Split('''
-    IEEEtran.lyx
-    README.new_templates
-    aa.lyx
-    aastex.lyx
-    agu_article.lyx
-    beamer-conference-ornate-20min.lyx
-    biblioExample.bib
-    CV-image.eps
-    CV-image.png
-    de_beamer-conference-ornate-20min.lyx
-    dinbrief.lyx
-    docbook_article.lyx
-    elsart.lyx
-    europeCV.lyx
-    fr_beamer-conference-ornate-20min.lyx
-    g-brief2.lyx
-    g-brief-de.lyx
-    g-brief-en.lyx
-    ijmpc.lyx
-    ijmpd.lyx
-    hollywood.lyx
-    kluwer.lyx
-    koma-letter2.lyx
-    latex8.lyx
-    letter.lyx
-    modernCV.lyx
-    revtex.lyx
-    revtex4.lyx
-    slides.lyx
+    stdlayouts.inc
+    stdletter.inc
+    stdlists.inc
+    stdsections.inc
+    stdstarsections.inc
+    stdstruct.inc
+    stdtitle.inc
+    svjour.inc
 ''')
 
 
-lib_tex_files = Split('''
-    broadway.cls
-    cv.cls
-    hollywood.cls
-    lyxchess.sty
-    lyxskak.sty
-    revtex.cls
+lib_scripts_files = Split('''
+    TeXFiles.py
+    clean_dvi.py
+    convertDefault.py
+    date.py
+    ext_copy.py
+    fen2ascii.py
+    fig2pdftex.py
+    fig2pstex.py
+    fig_copy.py
+    layout2layout.py
+    legacy_lyxpreview2ppm.py
+    listerrors
+    lyxpreview2bitmap.py
+    lyxpreview_tools.py
+    tex_copy.py
 ''')
 
 
-lib_ui_files = Split('''
-    classic.ui
-    default.ui
-    stdmenus.inc
-    stdtoolbars.inc
+lib_bind_files = Split('''
+    aqua.bind
+    broadway.bind
+    cua.bind
+    cyrkeys.bind
+    emacs.bind
+    greekkeys.bind
+    hollywood.bind
+    latinkeys.bind
+    mac.bind
+    math.bind
+    menus.bind
+    sciword.bind
+    xemacs.bind
 ''')
 
-lib_doc_clipart_files = Split('''
-    BoxInsetDefaultQt4.png
-    ChildDocumentQt4.png
-    CommentNoteImageQt4.png
-    escher-lsd.eps
-    endnotes.pdf
-    ExternalMaterialQt4.png
-    floatQt4.png
-    footnoteQt4.png
-    FramedNoteImageQt4.png
-    GreyedOutNoteImageQt4.png
-    labelQt4.png
-    LyXNoteImageQt4.png
-    mobius.eps
-    platypus.eps
-    referenceQt4.png
-    ShadedNoteImageQt4.png
-    with_fntright.pdf
-    without_fntright.pdf
-''')
 
-lib_doc_cs_files = Split('''
-    Tutorial.lyx
+lib_bind_fi_files = Split('''
+    menus.bind
 ''')
 
-lib_doc_da_files = Split('''
-    Intro.lyx
-''')
 
-lib_doc_de_files = Split('''
-    Customization.lyx
-    Extended.lyx
-    FAQ.lyx
-    Intro.lyx
-    Tutorial.lyx
-    UserGuide.lyx
+lib_bind_sv_files = Split('''
+    menus.bind
 ''')
 
-lib_doc_es_files = Split('''
-    DocumentoPostizo1.lyx
-    DocumentoPostizo2.lyx
-    DocumentoTextoPostizo.txt
-    EmbeddedObjects.lyx
-    Extended.lyx
-    Intro.lyx
-    Tutorial.lyx
-''')
 
-lib_doc_es_clipart_files = Split('''
-    ComentNotaImagenQt4.png
-    CuadroMinipagQt4.png
-    DocumentoHijoQt4.png
-    etiquetaQt4.png
-    flotanteQt4.png
-    GrisNotaImagenQt4.png
-    MaterialExternoQt4.png
-    NotaEnmarcadaImg.png
-    NotaLyXImagenQt4.png
-    notapieQt4.png
-    NotaSombreadaImg.png
-    referenciaQt4.png
+lib_bind_pt_files = Split('''
+    menus.bind
 ''')
 
-lib_doc_eu_files = Split('''
-    Customization.lyx
-    Extended.lyx
-    FAQ.lyx
-    Intro.lyx
-    Tutorial.lyx
-    UserGuide.lyx
-''')
 
-lib_doc_fr_files = Split('''
-    Customization.lyx
-    Extended.lyx
-    FAQ.lyx
-    Intro.lyx
-    Tutorial.lyx
-    UserGuide.lyx
+lib_bind_de_files = Split('''
+    menus.bind
 ''')
 
-lib_doc_he_files = Split('''
-    Intro.lyx
-    Tutorial.lyx
-''')
 
-lib_doc_hu_files = Split('''
-    Intro.lyx
-    Tutorial.lyx
+boost_extra_files = Split('''
+    ChangeLog
+    LICENSE_1_0.txt
+    Makefile.am
 ''')
 
-lib_doc_it_files = Split('''
-    Customization.lyx
-    Intro.lyx
-    Tutorial.lyx
-    UserGuide.lyx
+
+boost_libs_extra_files = Split('''
+    Makefile.am
+    README
 ''')
 
-lib_doc_nl_files = Split('''
-    Intro.lyx
-    Tutorial.lyx
+
+boost_libs_signals_extra_files = Split('''
+    Makefile.am
+    signals.vcproj
 ''')
 
-lib_doc_nb_files = Split('''
-    Intro.lyx
+
+boost_libs_signals_src_files = Split('''
+    connection.cpp
+    named_slot_map.cpp
+    signal_base.cpp
+    slot.cpp
+    trackable.cpp
 ''')
 
-lib_doc_pl_files = Split('''
-    Extended.lyx
-    Intro.lyx
-    Tutorial.lyx
+
+boost_libs_signals_src_extra_files = Split('''
+    Makefile.am
+    pch.h
 ''')
 
-lib_doc_pt_files = Split('''
-    Intro.lyx
-    Tutorial.lyx
+
+boost_libs_regex_extra_files = Split('''
+    Makefile.am
+    regex.vcproj
 ''')
 
-lib_doc_ro_files = Split('''
-    Intro.lyx
+
+boost_libs_regex_src_files = Split('''
+    c_regex_traits.cpp
+    cpp_regex_traits.cpp
+    cregex.cpp
+    fileiter.cpp
+    instances.cpp
+    posix_api.cpp
+    regex.cpp
+    regex_debug.cpp
+    regex_raw_buffer.cpp
+    regex_traits_defaults.cpp
+    w32_regex_traits.cpp
+    wide_posix_api.cpp
+    winstances.cpp
 ''')
 
-lib_doc_ru_files = Split('''
-    FAQ.lyx
-    Intro.lyx
-    Tutorial.lyx
+
+boost_libs_regex_src_extra_files = Split('''
+    Makefile.am
+    pch.h
 ''')
 
-lib_doc_sk_files = Split('''
-    Tutorial.lyx
-    UserGuide.lyx
+
+boost_libs_filesystem_extra_files = Split('''
+    Makefile.am
+    filesystem.vcproj
 ''')
 
-lib_doc_sl_files = Split('''
-    Intro.lyx
-    Tutorial.lyx
+
+boost_libs_filesystem_src_files = Split('''
+    exception.cpp
+    operations.cpp
+    path.cpp
+    portability.cpp
 ''')
 
-lib_doc_sv_files = Split('''
-    Intro.lyx
-    Tutorial.lyx
+
+boost_libs_filesystem_src_extra_files = Split('''
+    Makefile.am
+    pch.h
 ''')
 
-lib_doc_files = Split('''
-    Customization.lyx
-    DocStyle.lyx
-    DummyTextDocument.txt
-    DummyDocument1.lyx
-    DummyDocument2.lyx
-    EmbeddedObjects.lyx
-    Extended.lyx
-    FAQ.lyx
-    Intro.lyx
-    LaTeXConfig.lyx.in
-    Reference.lyx
-    Tutorial.lyx
-    UserGuide.lyx
+
+boost_libs_iostreams_extra_files = Split('''
+    Makefile.am
 ''')
 
 
-lib_lyx2lyx_files = Split('''
-    lyx2lyx
-    lyx2lyx_lang.py
-    generate_encoding_info.py
-    parser_tools.py
-    LyX.py
-    lyx_0_06.py
-    lyx_0_08.py
-    lyx_0_10.py
-    lyx_0_12.py
-    lyx_1_0.py
-    lyx_1_1.py
-    lyx_1_1_5.py
-    lyx_1_1_6_0.py
-    lyx_1_1_6_3.py
-    lyx_1_2.py
-    lyx_1_3.py
-    lyx_1_4.py
-    lyx_1_5.py
-    profiling.py
-    test_parser_tools.py
+boost_libs_iostreams_src_files = Split('''
+    file_descriptor.cpp
+    mapped_file.cpp
+    zlib.cpp
 ''')
 
 
-win32_bakoma_fonts = Split('''
-    Readme.txt
-    Licence.txt
-    cmex10.ttf
-    cmr10.ttf
-    eufm10.ttf
-    msbm10.ttf
-    cmmi10.ttf
-    cmsy10.ttf
-    msam10.ttf
-    wasy10.ttf
+boost_libs_iostreams_src_extra_files = Split('''
+    Makefile.am
+    pch.h
 ''')
 
 
-win32_packaging_installer_files = Split('''
+development_Win32_packaging_installer = Split('''
     license.rtf
     lyx.nsi
     settings.nsh
@@ -2521,20 +2889,20 @@ win32_packaging_installer_files = Split('''
 ''')
 
 
-win32_packaging_installer_components_files = Split('''
+development_Win32_packaging_installer_components = Split('''
     configure.nsh
-    dicts.nsh
-    langselect.nsh
-    uninstall.nsh
-    viewer.nsh
     core.nsh
+    dicts.nsh
     external.nsh
+    langselect.nsh
     reinstall.nsh
+    uninstall.nsh
     user.nsh
+    viewer.nsh
 ''')
 
 
-win32_packaging_installer_dialogs_files = Split('''
+development_Win32_packaging_installer_dialogs = Split('''
     external.ini
     langselect.ini
     reinstall.ini
@@ -2543,13 +2911,13 @@ win32_packaging_installer_dialogs_files = Split('''
 ''')
 
 
-win32_packaging_installer_graphics_files = Split('''
+development_Win32_packaging_installer_graphics = Split('''
     header.bmp
     wizard.bmp
 ''')
 
 
-win32_packaging_installer_include_files = Split('''
+development_Win32_packaging_installer_include = Split('''
     declarations.nsh
     detection.nsh
     filelists.nsh
@@ -2560,9 +2928,10 @@ win32_packaging_installer_include_files = Split('''
 ''')
 
 
-win32_packaging_installer_lang_files = Split('''
+development_Win32_packaging_installer_include_lang = Split('''
     english.nsh
     french.nsh
     german.nsh
     italian.nsh
 ''')
+