ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I'm not sure that it's the correct answer, but I think you should rather edit the CMakeLists.txt than the Makefile.

You can add a custom command to your CMakeLists.txt using this line:

EXECUTE_PROCESS(COMMAND "${PROJECT_SOURCE_DIR}/your_script.sh")

Hope this helps.