X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=blobdiff_plain;f=Makefile;h=f7add422922fe11de7a4007830e58c7d2c82cf32;hp=d7ad72e312b272e0e05b474874746bfeadbaa307;hb=9c2e812336b46a5340dde6401bf55b8b9660fec0;hpb=9c8e48daf7e6d83ce52cef4ccbdfff34c9056328 diff --git a/Makefile b/Makefile index d7ad72e..f7add42 100644 --- a/Makefile +++ b/Makefile @@ -50,3 +50,14 @@ tags: git ls-files | xargs etags .PHONY: tags + +########## +# this one is for overwriting the code in /tmp/source on a node +# that is in debug mode +ifndef NODE +debugmode: + echo run make debugmode NODE=a-real-ple-node +else +debugmode: + rsync -av -e 'ssh -i /Users/parmentelat/.ssh/ple_debug.rsa' ./source/ root@$(NODE):/tmp/source/ +endif