[ros-random-numbers] 02/02: Add patch for install dirs

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Mon Nov 23 07:14:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

jspricke-guest pushed a commit to branch master
in repository ros-random-numbers.

commit 104949cbc37645f7c5880cd415bd690d1241f21d
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Mon Nov 23 08:13:12 2015 +0100

    Add patch for install dirs
---
 ...002-Use-catkin-variables-for-install-dirs.patch | 26 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/0002-Use-catkin-variables-for-install-dirs.patch b/debian/patches/0002-Use-catkin-variables-for-install-dirs.patch
new file mode 100644
index 0000000..6ac4d40
--- /dev/null
+++ b/debian/patches/0002-Use-catkin-variables-for-install-dirs.patch
@@ -0,0 +1,26 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Mon, 23 Nov 2015 08:12:52 +0100
+Subject: Use catkin variables for install dirs
+
+---
+ CMakeLists.txt | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 45a7799..ae064a1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -20,10 +20,10 @@ target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES})
+ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${random_numbers_VERSION} SOVERSION "0d")
+ 
+ install(TARGETS ${PROJECT_NAME}
+-        ARCHIVE DESTINATION lib
+-        LIBRARY DESTINATION lib)
++        ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
++        LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})
+ 
+ install(DIRECTORY include/
+-        DESTINATION include
++        DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
+         FILES_MATCHING PATTERN "*.h")
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 6eac731..7263444 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Add-Debian-specific-SOVERSION.patch
+0002-Use-catkin-variables-for-install-dirs.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-random-numbers.git



More information about the debian-science-commits mailing list