Am Mittwoch, 13. April 2016 um 01:20:56, schrieb Uwe Stöhr <uwesto...@web.de>
> Am 13.04.2016 um 00:15 schrieb Kornel Benko:
>
> > Could you check where the files comes from?
>
> Hi Kornel,
>
> It is the attached file. It is already in the tarball in the folder
> ~\lib\examples
>
> I see now that it is also in
> ~\lib\examples
> in Git master. Therefore it is in the tarball. I nevertheless wonder if
> this file needs to be in the tarball.
>
> thanks for having a look and regards
> Uwe

My error. Attached cures it. Commit to master or wait until split?


        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

diff --git a/development/cmake/Install.cmake b/development/cmake/Install.cmake
index 7b76496..1b8408e 100755
--- a/development/cmake/Install.cmake
+++ b/development/cmake/Install.cmake
@@ -36,17 +36,13 @@ macro(lyx_install _parent_src_dir _gl_dir _file_type)
 	      #message(STATUS "removing dir ${_current_item}")
               list(REMOVE_ITEM files_list "${_current_item}")
             else()
-	      if(_current_item MATCHES "/\\.[^/]+$")
-		#message(STATUS "removing hidden ${_current_item}")
-		list(REMOVE_ITEM files_list "${_current_item}")
-	      endif()
-	      if(_current_item MATCHES "\\.in$")
-		#message(STATUS "removing .in file ${_current_item}")
-		list(REMOVE_ITEM files_list "${_current_item}")
-	      endif()
-	      if(_current_item MATCHES "\\.py$")
-		list(REMOVE_ITEM files_list "${_current_item}")
-		list(APPEND program_list "${_current_item}")
+	      if ("${_file_type}" STREQUAL "*")
+		foreach(_mask "/\\.[^/]+$" "\\.in$" "\\.py$" "CMakeLists\\.txt$" "\\.lyx~$")
+		  if(_current_item MATCHES ${_mask})
+		    #message(STATUS "removing item ${_current_item}")
+		    list(REMOVE_ITEM files_list "${_current_item}")
+		  endif()
+		endforeach()
 	      endif()
 	    endif()
           endif()
@@ -97,6 +93,7 @@ lyx_install(${TOP_SRC_DIR}/lib kbd          *      .)
 lyx_install(${TOP_SRC_DIR}/lib layouts      *      .)
 lyx_install(${TOP_SRC_DIR}/lib lyx2lyx      *.py   .)
 lyx_install(${TOP_SRC_DIR}/lib scripts      *.py   .)
+lyx_install(${TOP_SRC_DIR}/lib .            *.py   .)
 lyx_install(${TOP_SRC_DIR}/lib scripts      *.R    .)
 lyx_install(${TOP_SRC_DIR}/lib templates    *      . springer)
 lyx_install(${TOP_SRC_DIR}/lib tex          *      .)

Reply via email to