I propose to apply this patch to src/tex2lyx. Without this patch I can not 
compile lyx with build_dir != src_dir. Any objection?

Index: Makefile.am
===================================================================
--- Makefile.am (revision 23847)
+++ Makefile.am (working copy)
@@ -39,6 +39,7 @@
        ../TextClass.cpp \
        ../TextClass.h \
        ../Lexer.cpp \
+       ../lengthcommon.cpp \
        ../Color.cpp \
        ../Color.h

@@ -53,7 +54,6 @@
        Font.cpp \
        Font.h \
        gettext.cpp \
-       lengthcommon.cpp \
        Parser.cpp \
        Parser.h \
        tex2lyx.cpp \
Index: lengthcommon.cpp
===================================================================
--- lengthcommon.cpp    (revision 23847)
+++ lengthcommon.cpp    (working copy)
@@ -1,13 +0,0 @@
-// This file is here sine the master lengthcommon.cpp contains gettext
-// markers, and also that this file does not always exist (in the linked
-// case). So it is possible for po/POTFILES.in to get out of sync.
-// The compile will then fail. So to make sure that this file
-//(tex2lyx/lengthcommon.cpp) is not present in POTFILES.in we do a
-// include trick. (Lgb)
-#include "../lengthcommon.cpp"
-
-
-namespace lyx {
-
-
-} // namespace lyx

-- 
José Abílio

Reply via email to