summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunghyuk Park <junghyuk.park@samsung.com>2012-02-15 15:34:59 +0900
committerJunghyuk Park <junghyuk.park@samsung.com>2012-02-15 15:34:59 +0900
commite78d68941d605175c7f3b49876122bdddafe4785 (patch)
treea29e590eaf23629dd8be01ca58b01927803df176
parent2bea24c26d9eb39419670e0bb6a3a7d55f2466bd (diff)
downloadefl-util-e78d68941d605175c7f3b49876122bdddafe4785.tar.gz
efl-util-e78d68941d605175c7f3b49876122bdddafe4785.tar.bz2
efl-util-e78d68941d605175c7f3b49876122bdddafe4785.zip
Added version numbering
-rwxr-xr-xCMakeLists.txt7
-rwxr-xr-xdebian/changelog8
-rwxr-xr-xdebian/rules5
3 files changed, 19 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7ceac5a..a1cdd13 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/ui
diff --git a/debian/changelog b/debian/changelog
index 585ea57..cde9501 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+capi-ui-efl-util (0.1.0-5) unstable; urgency=low
+
+ * Added version numbering
+ * Git: api/efl-util
+ * Tag: capi-ui-efl-util_0.1.0-5
+
+ -- Kyuhun Jung <kyuhun.jung@samsung.com> Wed, 15 Feb 2012 10:50:29 +0900
+
capi-ui-efl-util (0.1.0-4) unstable; urgency=low
* Initial release.
diff --git a/debian/rules b/debian/rules
index 6e2e3ec..3815f73 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