simple make question

Emin Gun Sirer egsirer at phoenix.Princeton.EDU
Sat May 26 06:48:50 AEST 1990


In article <4921 at uceng.UC.EDU> schriste at uceng.UC.EDU (Steven V. Christensen) writes:
>I have a bunch of unix accts on many machines, and I want to keep all of
>the .cshrc, .login, etc... files in a subdir of one machine (the files
>can be different for different machines).

>I want it to be so that if I change the file "machinex.login", then that
>file gets sent to machine X as .login (via rcp - that part's not important).

	You can use rdist to do this. Rdist comes with 4.3 BSD and all you
have to do is to create a distfile with:

	step1:
	/u/you/machinex.login ->   you at machinex
					install .login ;
					notify you at machiney ;

Then include "machiney.blah.blah you" in .rhosts on machinex and give the
command rdist occassionally (You might want to include it in your .logout).
Rdist does everything, including time checking and all other kinds of funky
things you might ask from make. The man page gives some really good examples
of what you can do with it.

Hope you can find rdist on your site.

-------
Gun Sirer.
egsirer at phoenix.princeton.edu



More information about the Comp.unix.questions mailing list