Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ptsfa!hoptoad!unisoft!jef From: jef@unisoft.uucp (Jef Poskanzer) Newsgroups: comp.windows.x Subject: Re: Multiple targets with one source Message-ID: <738@unisoft.UUCP> Date: Wed, 28-Oct-87 14:06:12 EST Article-I.D.: unisoft.738 Posted: Wed Oct 28 14:06:12 1987 Date-Received: Tue, 3-Nov-87 04:26:06 EST References: <2496@calmasd.GE.COM> Sender: news@unisoft.UUCP Reply-To: jef@unisoft.UUCP (Jef Poskanzer) Organization: Paratheo-Anametamystikhood Of Eris Esoteric, Ada Lovelace Cabal Lines: 29 In the referenced message, jjo@calmasd.UUCP (Jay Olson) wrote: }We have an environment which I am sure is becoming quite common these }days: a network with a variety of Suns, Vaxen and other assorted machines, }many of which run NFS and can see filesystems on other machines in the }network. Right now, the X11 source is NFS mounted so that both the Suns }and the Vaxen can access it. } }However, it is somewhat inconvenient to actually build and install X for }both types of machines using the same source. I found what seems to be a pretty good solution to this problem: I have a single source tree, and then for each target machine I have a shadow tree. In the shadow trees, all the source files are replaced by symbolic links to the original in the source tree. There are no symbolic links for object files, so they get stored in the shadow trees. To accomplish this, I wrote two simple scripts. The first creates a shadow tree from a source tree. The second allows you to use sccs even if you are in a shadow tree. If anyone wants these scripts, just mail me a request. --- Jef Jef Poskanzer unisoft!jef@ucbvax.Berkeley.Edu ...ucbvax!unisoft!jef "That must be wonderful! I don't understand it at all." ...and now, a word from our sponsor: "The opinions expressed are those of the author and do not necessarily represent those of UniSoft Corp, its staff, or its management."