Home

Viktor Senderov

This is the homepage of the aRmake, a simple tool for remotely compiling and executing your project files.

PREREQUISITES

The aRmake tool needs 'rsync' to be installed on your local and remote machines and make at least on the remote machine.

INSTALLATION

Copy the 'rmake' shell script in your binaries directory (i.e. '/usr/local/bin'), and use a customized version of 'init.sh', or do it manually, to set each of the environmental variables REMOTE_USER, REMOTE_HOST, REMOTE_SERVER. To use 'init.sh', edit the file, and then source like this:

$ . ./init.sh

Note: to automate operation you might wish to copy your public key to the remote
host. The procedure is given here:

http://blogs.oracle.com/jkini/entry/how_to_scp_scp_and

USAGE

E.g.:

$ rmake test

will copy the project the remote host (it will take advantage of rsync's capabilities and avoid copying superflous data), and will "make test". After this it will copy the (updated) version of the directory to your home folder. Note: if you delete a file on your local folder, rsync will also delete it on the remote folder during copying. However, if you delete something on the remote folder, it will not be erased when copying to your home folder.