@@ -13,7 +13,7 @@ export DH_VERBOSE=1
1313# https://code.ros.org/trac/ros/ticket/2977
1414# https://code.ros.org/trac/ros/ticket/3842
1515export LDFLAGS =
16- export PKG_CONFIG_PATH =@(InstallationPrefix) /lib/pkgconfig
16+ export PKG_CONFIG_PATH =/opt/ros/kilted /lib/pkgconfig
1717# Explicitly enable -DNDEBUG, see:
1818# https://github.com/ros-infrastructure/bloom/issues/327
1919export DEB_CXXFLAGS_MAINT_APPEND =-DNDEBUG
@@ -24,44 +24,44 @@ endif
2424DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
2525
2626% :
27- dh $@ @ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE )
27+ dh $@ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE )
2828
2929override_dh_auto_configure :
3030 # In case we're installing to a non-standard location, look for a setup.sh
3131 # in the install tree and source it. It will set things like
3232 # CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
33- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
33+ if [ -f " /opt/ros/kilted/ setup.sh" ]; then . " /opt/ros/kilted /setup.sh" ; fi && \
3434 dh_auto_configure -- \
35- -DCMAKE_INSTALL_PREFIX=" @(InstallationPrefix) " \
36- -DAMENT_PREFIX_PATH=" @(InstallationPrefix) " \
37- -DCMAKE_PREFIX_PATH=" @(InstallationPrefix) " \
35+ -DCMAKE_INSTALL_PREFIX=" /opt/ros/kilted " \
36+ -DAMENT_PREFIX_PATH=" /opt/ros/kilted " \
37+ -DCMAKE_PREFIX_PATH=" /opt/ros/kilted " \
3838 $(BUILD_TESTING_ARG )
3939
4040override_dh_auto_build :
4141 # In case we're installing to a non-standard location, look for a setup.sh
4242 # in the install tree and source it. It will set things like
4343 # CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
44- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
44+ if [ -f " /opt/ros/kilted/ setup.sh" ]; then . " /opt/ros/kilted /setup.sh" ; fi && \
4545 dh_auto_build
4646
4747override_dh_auto_test :
4848 # In case we're installing to a non-standard location, look for a setup.sh
4949 # in the install tree and source it. It will set things like
5050 # CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
5151 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/kilted/ setup.sh" ]; then . " /opt/ros/kilted /setup.sh" ; fi && \
5353 dh_auto_test || true
5454
5555override_dh_shlibdeps :
5656 # In case we're installing to a non-standard location, look for a setup.sh
5757 # in the install tree and source it. It will set things like
5858 # 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/kilted/ setup.sh" ]; then . " /opt/ros/kilted /setup.sh" ; fi && \
60+ dh_shlibdeps -l$(CURDIR ) /debian/ros-kilted-neo-nav2-bringup//opt/ros/kilted/ lib/:$(CURDIR ) /debian/ros-kilted-neo-nav2-bringup/ /opt/ros/kilted/opt/neo_nav2_bringup /lib/
6161
6262override_dh_auto_install :
6363 # In case we're installing to a non-standard location, look for a setup.sh
6464 # in the install tree and source it. It will set things like
6565 # CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
66- if [ -f " @(InstallationPrefix)/ setup.sh" ]; then . " @(InstallationPrefix) /setup.sh" ; fi && \
66+ if [ -f " /opt/ros/kilted/ setup.sh" ]; then . " /opt/ros/kilted /setup.sh" ; fi && \
6767 dh_auto_install
0 commit comments