commit 7cdfa9b29a8a74f62fa722a4282d08db43f4f0b3
Author: Richard Heck <[email protected]>
Date: Fri Apr 11 12:09:54 2014 -0400
Better idea: Let's allow export of 2.1.x files. Someone might want to
do that. But let's not put it on the export menu.
diff --git a/lib/configure.py b/lib/configure.py
index 9f933f7..dd9870f 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -672,7 +672,7 @@ def checkFormatEntries(dtl_tools):
\Format lyx14x 14.lyx "LyX 1.4.x" "" "" ""
"document"
\Format lyx15x 15.lyx "LyX 1.5.x" "" "" ""
"document"
\Format lyx16x 16.lyx "LyX 1.6.x" "" "" ""
"document,menu=export"
-\Format lyx21x 21.lyx "LyX 2.1.x" "" "" ""
"document,menu=export"
+\Format lyx21x 21.lyx "LyX 2.1.x" "" "" ""
"document"
\Format clyx cjklyx "CJK LyX 1.4.x (big5)" "" "" ""
"document"
\Format jlyx cjklyx "CJK LyX 1.4.x (euc-jp)" "" "" ""
"document"
\Format klyx cjklyx "CJK LyX 1.4.x (euc-kr)" "" "" ""
"document"
@@ -1009,6 +1009,7 @@ def checkConverterEntries():
\converter lyx lyx14x "python -tt $$s/lyx2lyx/lyx2lyx -t 245 $$i >
$$o" ""
\converter lyx lyx15x "python -tt $$s/lyx2lyx/lyx2lyx -t 276 $$i >
$$o" ""
\converter lyx lyx16x "python -tt $$s/lyx2lyx/lyx2lyx -t 345 $$i >
$$o" ""
+\converter lyx lyx21x "python -tt $$s/lyx2lyx/lyx2lyx -t 474 $$i >
$$o" ""
\converter lyx clyx "python -tt $$s/lyx2lyx/lyx2lyx -c big5 -t
245 $$i > $$o" ""
\converter lyx jlyx "python -tt $$s/lyx2lyx/lyx2lyx -c euc_jp -t
245 $$i > $$o" ""
\converter lyx klyx "python -tt $$s/lyx2lyx/lyx2lyx -c euc_kr -t
245 $$i > $$o" ""
diff --git a/lib/lyx2lyx/CMakeLists.txt b/lib/lyx2lyx/CMakeLists.txt
new file mode 100644
index 0000000..6cfa5cd
--- /dev/null
+++ b/lib/lyx2lyx/CMakeLists.txt
@@ -0,0 +1,17 @@
+# This file is part of LyX, the document processor.
+# Licence details can be found in the file COPYING.
+#
+# Copyright (c) 2008-2011 Peter Kümmel, <[email protected]>
+# Copyright (c) 2008-2011 Kornel Benko, <[email protected]>
+#
+
+configure_file(${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx_version.py.in
+ ${CMAKE_CURRENT_BINARY_DIR}/lyx2lyx_version.py)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lyx2lyx_version.py DESTINATION
${LYX_DATA_SUBDIR}lyx2lyx)
+
+if (UNIX)
+ set(_project "lyx2lyx")
+ # include(../PyCompile)
+endif()
+
+install(PROGRAMS ${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx DESTINATION
${LYX_DATA_SUBDIR}lyx2lyx)