The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 75d63ad1f2b5f29ededc128f169e8e11b5825b55 Author: Kornel Benko <kor...@lyx.org> Date: Sun Oct 14 21:55:42 2012 +0200 Cmake build: Use the timestamp of last commit (iff possible) while idetifying the lyx-version. diff --git a/CMakeLists.txt b/CMakeLists.txt index f720327..d917a8b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -264,6 +264,10 @@ if (LYX_LOCALVERSIONING) MATH(EXPR tmp_REVISION_VERSION "(${CMAKE_MATCH_1}+40000)") set(LYX_REVISION_VERSION "${LYX_PATCH_VERSION}-${tmp_REVISION_VERSION}git") endif() + # Override the value from configure.ac, if possible + EXECUTE_PROCESS(COMMAND ${LYX_GITVERSION} "log" "-1" "--format=%cd" + WORKING_DIRECTORY "${TOP_SRC_DIR}" + OUTPUT_VARIABLE LYX_DATE OUTPUT_STRIP_TRAILING_WHITESPACE) else() set(LYX_REVISION_VERSION git) #TODO use date endif() ----------------------------------------------------------------------- Summary of changes: CMakeLists.txt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) hooks/post-receive -- The LyX Source Repository