cmake: fix for PyCompile

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28227 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2009-01-17 19:17:51 +00:00
parent 42dc171666
commit 2467c38ca9
5 changed files with 14 additions and 6 deletions

View File

@ -350,7 +350,6 @@ if(NOT use_external_libintl)
endif() endif()
add_subdirectory(src) add_subdirectory(src)
#include_directories(man doc)
add_subdirectory(man) add_subdirectory(man)
add_subdirectory(doc) add_subdirectory(doc)
if (UNIX) if (UNIX)

View File

@ -18,7 +18,9 @@ macro(lyx_install _parent_src_dir _gl_dir _file_type)
foreach(_glob_dir ${ARGN}) foreach(_glob_dir ${ARGN})
file(GLOB _dir_list ${_parent_src_dir}/${_dir}/${_glob_dir}) file(GLOB _dir_list ${_parent_src_dir}/${_dir}/${_glob_dir})
if(NOT _dir_list) if(NOT _dir_list)
set(_dir_list ${_parent_src_dir}/${_dir}) if(_glob_dir STREQUAL ".")
set(_dir_list ${_parent_src_dir}/${_dir}/.)
endif()
endif() endif()
if(_glob_dir STREQUAL ".") if(_glob_dir STREQUAL ".")
set(_dir_list ${_parent_src_dir}/${_dir}/.) set(_dir_list ${_parent_src_dir}/${_dir}/.)

View File

@ -38,5 +38,3 @@ endforeach(_rel_doc)
ADD_CUSTOM_TARGET(doc ALL DEPENDS ${_docs}) ADD_CUSTOM_TARGET(doc ALL DEPENDS ${_docs})

View File

@ -8,3 +8,13 @@
set(_project "lyx2lyx") set(_project "lyx2lyx")
include(../PyCompile) include(../PyCompile)
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.
#
# Copyright (c) 2008, 2009 Peter Kümmel, <syntheticpp@gmx.net>
# Copyright (c) 2008, 2009 Kornel Benko, <Kornel.Benko@berlin.de>
#
set(_project "lyx2lyx")
include(../PyCompile)

View File

@ -5,6 +5,5 @@
# Copyright (c) 2008, 2009 Kornel Benko, <Kornel.Benko@berlin.de> # Copyright (c) 2008, 2009 Kornel Benko, <Kornel.Benko@berlin.de>
# #
set(_project "lyx2lyx") set(_project "scripts")
include(../PyCompile) include(../PyCompile)