X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=blobdiff_plain;f=Makefile;h=f7add422922fe11de7a4007830e58c7d2c82cf32;hp=92c762acbfef5a8dfd4aca0105cb9cc6887805f9;hb=15279cd1de87015b86291f9216e4f6aeca027301;hpb=fad93a573987ec218d2ab6b2c3f07a06cddded63 diff --git a/Makefile b/Makefile index 92c762a..f7add42 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,17 @@ endif ########## tags: - find . -type f | egrep -v 'TAGS|DIFF|/\.svn/|\.git/|~$$' | xargs etags + 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