mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Kornel: Moved handling of for lyx2lyx created files to lyx2lyx/CMakeLists.txt
Installation of executabe lyx2lyx creation and installation of lyx2lyx_version.py git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28241 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d87030a353
commit
60ce0b3226
@ -335,10 +335,6 @@ configure_file(config.h.cmake ${CMAKE_BINARY_DIR}/config.h)
|
||||
find_package(ICONV REQUIRED)
|
||||
add_definitions(-DHAVE_ICONV=1)
|
||||
|
||||
#TODO: insource is not the best place
|
||||
configure_file(${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx_version.py.in
|
||||
${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx_version.py)
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TOP_SRC_DIR}/src
|
||||
@ -352,10 +348,8 @@ add_subdirectory(src)
|
||||
|
||||
add_subdirectory(man)
|
||||
add_subdirectory(doc)
|
||||
if (UNIX)
|
||||
add_subdirectory(lyx2lyx)
|
||||
add_subdirectory(scripts)
|
||||
endif()
|
||||
|
||||
include(../Install)
|
||||
|
||||
|
@ -78,5 +78,3 @@ lyx_install(${TOP_SRC_DIR}/lib tex * .)
|
||||
lyx_install(${TOP_SRC_DIR}/lib ui * .)
|
||||
lyx_install(${TOP_SRC_DIR}/lib . * .)
|
||||
|
||||
install(PROGRAMS ${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx DESTINATION lyx2lyx)
|
||||
|
||||
|
@ -5,7 +5,13 @@
|
||||
# Copyright (c) 2008, 2009 Kornel Benko, <Kornel.Benko@berlin.de>
|
||||
#
|
||||
|
||||
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 lyx2lyx)
|
||||
|
||||
if (UNIX)
|
||||
set(_project "lyx2lyx")
|
||||
include(../PyCompile)
|
||||
endif()
|
||||
|
||||
|
||||
install(PROGRAMS ${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx DESTINATION lyx2lyx)
|
||||
|
@ -5,5 +5,8 @@
|
||||
# Copyright (c) 2008, 2009 Kornel Benko, <Kornel.Benko@berlin.de>
|
||||
#
|
||||
|
||||
if (UNIX)
|
||||
set(_project "scripts")
|
||||
include(../PyCompile)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user