Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Mar 5, 2024
1 parent b987c03 commit c177321
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion debian/rules.em
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,14 @@ override_dh_auto_build:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it. It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
#
# j-rivero: inject DESTDIR since the bazel Cmake wrapper in Drake will run
# the install target when executing make. That target will install
# Drake generated code in this step. Injecting DESTDIR since the Drake
# CMake wrapper is sensible to transform it into an installation prefix.
export DESTDIR=$(CURDIR)/debian/@(Package)/
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
dh_auto_build
DESTDIR=$(CURDIR)/debian/@(Package)/ dh_auto_build

override_dh_auto_test:
# In case we're installing to a non-standard location, look for a setup.sh
Expand All @@ -59,6 +65,9 @@ override_dh_shlibdeps:
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
dh_shlibdeps -l$(CURDIR)/debian/@(Package)/@(InstallationPrefix)/lib/

override_dh_prep:
dh_prep -Xdebian/@(Package) $@@

override_dh_auto_install:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it. It will
Expand Down

0 comments on commit c177321

Please sign in to comment.