diff options
-rwxr-xr-x | CMakeLists.txt | 7 | ||||
-rwxr-xr-x | debian/changelog | 8 | ||||
-rwxr-xr-x | debian/rules | 5 |
3 files changed, 19 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 65372e8..2f768c0 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,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/appfw diff --git a/debian/changelog b/debian/changelog index 54065cb..3b3f33d 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +capi-appfw-app-manager (0.1.0-6) unstable; urgency=low + + * Added version numbering + * Git: api/app-manager + * Tag: capi-appfw-app-manager_0.1.0-6 + + -- Kyuhun Jung <kyuhun.jung@samsung.com> Wed, 15 Feb 2012 10:48:50 +0900 + capi-appfw-app-manager (0.1.0-5) unstable; urgency=low * Changed function signature : app_manager_unset_app_list_changed_cb() diff --git a/debian/rules b/debian/rules index 1c6c827..5e98dcc 100755 --- a/debian/rules +++ b/debian/rules @@ -10,10 +10,13 @@ endif CMAKE_ROOT_DIR ?= $(CURDIR) CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp +FULLVER ?= $(shell dpkg-parsechangelog | grep Version: | cut -d ' ' -f 2 | cut -d '-' -f 1) +MAJORVER ?= $(shell echo $(FULLVER) | cut -d '.' -f 1) + 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 |