summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-28 21:41:55 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-28 21:41:55 (GMT)
commitab2204b1696d9d33163364b351d4ce6fbde7d730 (patch)
treeb5e73fb215669e9ca487e24ed52094e98d939b98
parent478646c04838f60296ff7e94ab69cf37311794ec (diff)
parentb4726e0baaf6ebf7082461fa9b88c0f9afd3c7ff (diff)
downloadlibkolabxml-ab2204b1696d9d33163364b351d4ce6fbde7d730.tar.gz
Merge branch 'master' of ssh://git.kolabsys.com/git/libkolabxml
-rw-r--r--CMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5f67c32..5445917 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@ if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 7 AND
endif()
set (KOLABXML_VERSION_MAJOR 0)
-set (KOLABXML_VERSION_MINOR 3)
+set (KOLABXML_VERSION_MINOR 2)
set (KOLABXML_VERSION_RELEASE 0)
set (KOLABXML_VERSION "${KOLABXML_VERSION_MAJOR}.${KOLABXML_VERSION_MINOR}.${KOLABXML_VERSION_RELEASE}" )
set (KOLABXML_VERSION_STRING ${CMAKE_PROJECT_NAME}-${KOLABXML_VERSION})
@@ -158,9 +158,16 @@ else()
message("Qt libraries have not been found, not building tests")
endif()
-set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${KOLABXML_VERSION})
#make dist requires a tag with ${ARCHIVE_NAME} (e.g. libkolabxml-0.2.0)
+set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${KOLABXML_VERSION})
add_custom_target(dist
COMMAND git archive --prefix=${ARCHIVE_NAME}/ ${ARCHIVE_NAME}
| bzip2 > ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME}.tar.bz2
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
+
+#snapshot of current development version
+set(SNAPSHOTARCHIVE_NAME "${CMAKE_PROJECT_NAME}-${KOLABXML_VERSION}-HEAD")
+add_custom_target(snapshot
+ COMMAND git archive --prefix=${SNAPSHOTARCHIVE_NAME}/ HEAD
+ | bzip2 > ${CMAKE_BINARY_DIR}/${SNAPSHOTARCHIVE_NAME}.tar.bz2
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})