You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 10, 2024. It is now read-only.
When using the Drake CMake wrapper I noticed that running make calls the target install in the build system and in fact installs the files in the specified directory. This is a bit different from the usual functionally of the default target in make (the all target) which restrict its goal to build all the specified artifacts inside a building directory but not in the final file destination.
Since the final goal of the packaging is to run make and make install at some point, the final result could be expected to be the same no matter at which step the files are installed. This is only partially true since the debian packaging and/or the ROS debian packaging use different environment variables and introduce other steps between the call to build (dh_auto_build) and the call to install (dh_auto_install). This generates some problems:
DESTDIR is not available in the call of dh_auto_build since the expected step to handle it is dh_auto_build. The Drake build system uses it just fine but the variable is not present when doing the installation.
There is a clean step between dh_auto_build and dh_auto_install called dh_prep that is removing the installation done in the first step.
When using the Drake CMake wrapper I noticed that running
makecalls the targetinstallin the build system and in fact installs the files in the specified directory. This is a bit different from the usual functionally of the default target inmake(thealltarget) which restrict its goal to build all the specified artifacts inside a building directory but not in the final file destination.Since the final goal of the packaging is to run
makeandmake installat some point, the final result could be expected to be the same no matter at which step the files are installed. This is only partially true since the debian packaging and/or the ROS debian packaging use different environment variables and introduce other steps between the call to build (dh_auto_build) and the call to install (dh_auto_install). This generates some problems:DESTDIRis not available in the call ofdh_auto_buildsince the expected step to handle it isdh_auto_build. The Drake build system uses it just fine but the variable is not present when doing the installation.There is a clean step between
dh_auto_buildanddh_auto_installcalled dh_prep that is removing the installation done in the first step.