@@ -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/humble /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
@@ -24,44 +24,44 @@ endif
24
24
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
25
25
26
26
% :
27
- dh $@ @ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE )
27
+ dh $@ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE )
28
28
29
29
override_dh_auto_configure :
30
30
# In case we're installing to a non-standard location, look for a setup.sh
31
31
# in the install tree and source it. It will set things like
32
32
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
33
- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
33
+ if [ -f " /opt/ros/humble/ setup.sh" ]; then . " /opt/ros/humble /setup.sh" ; fi && \
34
34
dh_auto_configure -- \
35
- -DCMAKE_INSTALL_PREFIX=" @(InstallationPrefix) " \
36
- -DAMENT_PREFIX_PATH=" @(InstallationPrefix) " \
37
- -DCMAKE_PREFIX_PATH=" @(InstallationPrefix) " \
35
+ -DCMAKE_INSTALL_PREFIX=" /opt/ros/humble " \
36
+ -DAMENT_PREFIX_PATH=" /opt/ros/humble " \
37
+ -DCMAKE_PREFIX_PATH=" /opt/ros/humble " \
38
38
$(BUILD_TESTING_ARG )
39
39
40
40
override_dh_auto_build :
41
41
# In case we're installing to a non-standard location, look for a setup.sh
42
42
# in the install tree and source it. It will set things like
43
43
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
44
- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
44
+ if [ -f " /opt/ros/humble/ setup.sh" ]; then . " /opt/ros/humble /setup.sh" ; fi && \
45
45
dh_auto_build
46
46
47
47
override_dh_auto_test :
48
48
# In case we're installing to a non-standard location, look for a setup.sh
49
49
# in the install tree and source it. It will set things like
50
50
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
51
51
echo -- Running tests. Even if one of them fails the build is not canceled.
52
- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
52
+ if [ -f " /opt/ros/humble/ setup.sh" ]; then . " /opt/ros/humble /setup.sh" ; fi && \
53
53
dh_auto_test || true
54
54
55
55
override_dh_shlibdeps :
56
56
# In case we're installing to a non-standard location, look for a setup.sh
57
57
# in the install tree and source it. It will set things like
58
58
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
59
- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
60
- dh_shlibdeps -l$(CURDIR ) /debian/@ (Package)/ @ (InstallationPrefix)/ lib/:$(CURDIR ) /debian/@ (Package)/ @ (InstallationPrefix) /opt/@ (Name) /lib/
59
+ if [ -f " /opt/ros/humble/ setup.sh" ]; then . " /opt/ros/humble /setup.sh" ; fi && \
60
+ dh_shlibdeps -l$(CURDIR ) /debian/ros-humble-py-binding-tools//opt/ros/humble/ lib/:$(CURDIR ) /debian/ros-humble-py-binding-tools/ /opt/ros/humble/opt/py_binding_tools /lib/
61
61
62
62
override_dh_auto_install :
63
63
# In case we're installing to a non-standard location, look for a setup.sh
64
64
# in the install tree and source it. It will set things like
65
65
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
66
- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
66
+ if [ -f " /opt/ros/humble/ setup.sh" ]; then . " /opt/ros/humble /setup.sh" ; fi && \
67
67
dh_auto_install
0 commit comments