summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonghoon Lim <j.h.lim@samsung.com>2012-02-16 17:21:23 +0900
committerJonghoon Lim <j.h.lim@samsung.com>2012-02-16 17:21:23 +0900
commit5047a94da2d17afb92841aee7f98710cde5bb217 (patch)
treed025a06d69916dc5e3837d27919d46d921f274ff
parent4aea6f5ede38f2d2d20a75895d9b598704fe14d0 (diff)
downloadcall-log-5047a94da2d17afb92841aee7f98710cde5bb217.tar.gz
call-log-5047a94da2d17afb92841aee7f98710cde5bb217.tar.bz2
call-log-5047a94da2d17afb92841aee7f98710cde5bb217.zip
versioning updated
-rwxr-xr-xCMakeLists.txt8
-rwxr-xr-x[-rw-r--r--]debian/changelog4
-rwxr-xr-xdebian/rules4
3 files changed, 12 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 687a539..5b9d103 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,3 @@
-
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(fw_name "capi-social-call-log")
@@ -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 6f24713..c6fc159 100644..100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-capi-social-call-log (0.1.1-22) unstable; urgency=low
+capi-social-call-log (0.1.1-24) unstable; urgency=low
* version updated
* Git: api/call-log
- * Tag: capi-social-call-log_0.1.1-22
+ * Tag: capi-social-call-log_0.1.1-24
-- Jonghoon Lim <j.h.lim@samsung.com> Thu, 15 Dec 2011 13:48:29 +0900
diff --git a/debian/rules b/debian/rules
index 3321e61..2ea9eae 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