@@ -13,7 +13,7 @@ export DH_VERBOSE=1
13
13
# https://code.ros.org/trac/ros/ticket/2977
14
14
# https://code.ros.org/trac/ros/ticket/3842
15
15
export LDFLAGS =
16
- export PKG_CONFIG_PATH =@(InstallationPrefix) /lib/pkgconfig
16
+ export PKG_CONFIG_PATH =/opt/ros/iron /lib/pkgconfig
17
17
# Explicitly enable -DNDEBUG, see:
18
18
# https://github.com/ros-infrastructure/bloom/issues/327
19
19
export DEB_CXXFLAGS_MAINT_APPEND =-DNDEBUG
@@ -27,43 +27,43 @@ export DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
27
27
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
28
28
29
29
% :
30
- dh $@ @ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE )
30
+ dh $@ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE )
31
31
32
32
override_dh_auto_configure :
33
33
# In case we're installing to a non-standard location, look for a setup.sh
34
34
# in the install tree and source it. It will set things like
35
35
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
36
- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
36
+ if [ -f " /opt/ros/iron/ setup.sh" ]; then . " /opt/ros/iron /setup.sh" ; fi && \
37
37
dh_auto_configure -- \
38
- -DCMAKE_INSTALL_PREFIX=" @(InstallationPrefix) " \
39
- -DCMAKE_PREFIX_PATH=" @(InstallationPrefix) " \
38
+ -DCMAKE_INSTALL_PREFIX=" /opt/ros/iron " \
39
+ -DCMAKE_PREFIX_PATH=" /opt/ros/iron " \
40
40
$(BUILD_TESTING_ARG )
41
41
42
42
override_dh_auto_build :
43
43
# In case we're installing to a non-standard location, look for a setup.sh
44
44
# in the install tree and source it. It will set things like
45
45
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
46
- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
46
+ if [ -f " /opt/ros/iron/ setup.sh" ]; then . " /opt/ros/iron /setup.sh" ; fi && \
47
47
dh_auto_build
48
48
49
49
override_dh_auto_test :
50
50
# In case we're installing to a non-standard location, look for a setup.sh
51
51
# in the install tree and source it. It will set things like
52
52
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
53
53
echo -- Running tests. Even if one of them fails the build is not canceled.
54
- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
54
+ if [ -f " /opt/ros/iron/ setup.sh" ]; then . " /opt/ros/iron /setup.sh" ; fi && \
55
55
dh_auto_test || true
56
56
57
57
override_dh_shlibdeps :
58
58
# In case we're installing to a non-standard location, look for a setup.sh
59
59
# in the install tree and source it. It will set things like
60
60
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
61
- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
62
- dh_shlibdeps -l$(CURDIR ) /debian/@ (Package)/ @ (InstallationPrefix)/ lib/:$(CURDIR ) /debian/@ (Package)/ @ (InstallationPrefix) /lib/${DEB_HOST_MULTIARCH}
61
+ if [ -f " /opt/ros/iron/ setup.sh" ]; then . " /opt/ros/iron /setup.sh" ; fi && \
62
+ dh_shlibdeps -l$(CURDIR ) /debian/ros-iron-librealsense2//opt/ros/iron/ lib/:$(CURDIR ) /debian/ros-iron-librealsense2//opt/ros/iron /lib/${DEB_HOST_MULTIARCH}
63
63
64
64
override_dh_auto_install :
65
65
# In case we're installing to a non-standard location, look for a setup.sh
66
66
# in the install tree and source it. It will set things like
67
67
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
68
- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
68
+ if [ -f " /opt/ros/iron/ setup.sh" ]; then . " /opt/ros/iron /setup.sh" ; fi && \
69
69
dh_auto_install
0 commit comments