Adding custom actions to rosbuild
I've got a package defining messages for rosserial. After changing a message, I need to deploy (copy) the changes to a folder containing generated messages for an Arduino board. Is there a (clean) way to add custom actions to the rosbuild system? For now I'm assuming I could modify Makefile in my message-defining-package adding the actions I need after the call:
include $(shell rospack find mk)/cmake.mk
but won't it get overwritten in some case and is it the right way to do it? I've got a deploy script and would like to call it from somewhere.