From: "Zachary P. Landau" Date: 2004-01-21T03:15:43+09:00 Subject: Re: Installing a program Unix-like --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 20, 2004 at 11:01:25PM +0900, Mauricio Fern?ndez wrote: > On Tue, Jan 20, 2004 at 09:05:00PM +0900, Malte Milatz wrote: > > I wrote: > > > I don't want to be forced to imagine that every Ruby programmer writes > > > his own script, in which he moves the appropriate files into > > > /usr/local/bin, -share, -lib, -man etc. > >=20 > > It's time that I thank everybody who replied to my question; I think > > setup.rb is the thing I need. Maybe together with some other things that > > are based on it, or which install the doc's. >=20 > Quick hack, just to show you how easy it is (note that this is for an > older version; you had better modify the sources of setup.rb instead of > the generated file itself). >=20 > [ 'data-dir', [ '$prefix/share', > 'path', > 'the directory for shared data' ] ], > + [ 'doc-dir', [ '$prefix/share/doc', > + 'path', > + 'the directory for documentation' ] ], Please excuse my Windows ignorance, but what is a common default for $prefix under Win32?=20 -- Zachary P. Landau GPG: gpg --recv-key 0x24E5AD99 | http://kapheine.hypa.net/kapheine.asc --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFADW/1CwWyMCTlrZkRApabAJ9HI7uMAnw5DU3QoPGW55itmVyDxwCeKqd3 l/eJErwfycBKPs7XM7T/wHg= =1ImK -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--