Install a package parallel to /opt/ros
I have a custom package that I built. I ran bloom-generate rosdebian on the package and generated a debian folder. When I looked into debian/rules, I saw the following,
-DCMAKE_INSTALL_PREFIX="/opt/ros/melodic" \
-DCMAKE_PREFIX_PATH="/opt/ros/melodic"
I want to install my package to a location something like /opt/custom/melodic
. These are the steps I'm following right now. Currently, I clone the package, run the following commands to generate a binary. I'm resolving the dependencies with a python script I custom brewed.
bloom-generate rosdebian
dpkg-buildpackage -b -us -uc
When the binary is installed, it gets installed into /opt/ros/melodic
. Help much appreciated. Thanks !