diff options
author | Jonghoon Lim <j.h.lim@samsung.com> | 2012-02-16 17:19:54 +0900 |
---|---|---|
committer | Jonghoon Lim <j.h.lim@samsung.com> | 2012-02-16 17:19:54 +0900 |
commit | 4d9b599ed69e0d5a99c7e883dbc21414fe3eaf41 (patch) | |
tree | 24d8dabec91617c7beb8f4c5341d9923bb801e8f | |
parent | b0f45ecd95bed424d5e21c229f2363e6e8f758d7 (diff) | |
download | calendar-4d9b599ed69e0d5a99c7e883dbc21414fe3eaf41.tar.gz calendar-4d9b599ed69e0d5a99c7e883dbc21414fe3eaf41.tar.bz2 calendar-4d9b599ed69e0d5a99c7e883dbc21414fe3eaf41.zip |
versioning updated
-rwxr-xr-x | CMakeLists.txt | 8 | ||||
-rwxr-xr-x[-rw-r--r--] | debian/changelog | 4 | ||||
-rwxr-xr-x | debian/rules | 4 |
3 files changed, 12 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 741feb3..41556fd 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,3 @@ - CMAKE_MINIMUM_REQUIRED(VERSION 2.6) SET(fw_name "capi-social-calendar") @@ -35,6 +34,13 @@ ADD_LIBRARY(${fw_name} SHARED ${SOURCES}) TARGET_LINK_LIBRARIES(${fw_name} ${${fw_name}_LDFLAGS}) +SET_TARGET_PROPERTIES(${fw_name} + PROPERTIES + VERSION ${FULLVER} + SOVERSION ${MAJORVER} + CLEAN_DIRECT_OUTPUT 1 +) + INSTALL(TARGETS ${fw_name} DESTINATION lib) INSTALL( DIRECTORY ${INC_DIR}/ DESTINATION include/social diff --git a/debian/changelog b/debian/changelog index 1b32aaf..e79a5ae 100644..100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -capi-social-calendar (0.1.1-30) unstable; urgency=low +capi-social-calendar (0.1.1-32) unstable; urgency=low * Multiple calendar feature added * Git: api/calendar - * Tag: capi-social-calendar_0.1.1-30 + * Tag: capi-social-calendar_0.1.1-32 -- Jonghoon Lim <j.h.lim@samsung.com> Fri, 10 Feb 2012 15:31:07 +0900 diff --git a/debian/rules b/debian/rules index a463aa1..fb887f6 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +FULLVER ?= $(shell dpkg-parsechangelog | grep Version: | cut -d ' ' -f 2 | cut -d '-' -f 1) +MAJORVER ?= $(shell echo $(FULLVER) | cut -d '.' -f 1) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) @@ -13,7 +15,7 @@ CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp configure: configure-stamp configure-stamp: dh_testdir - mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake .. + mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake .. -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER} touch configure-stamp |