Well, it's been a total failure
Russel Winder
russel at russel.org.uk
Mon Sep 13 21:38:06 PDT 2010
On Mon, 2010-09-13 at 23:44 +0200, Andrej Mitrovic wrote:
> Can't you use your archiver to do that for you? F2, rename, extract.
> Done deal. I like to keep the latest version in the DMD2 folder, all
> the better for compatibility with existing build scripts. I really
> wouldn't want to have to keep renaming paths in makefiles for every
> release of DMD2. Although I'll never have that problem since I can
> rename the folder inside the zip.
That is what symbolic links are for. The binary distribution should
unpack into a version specific directory. This then allows multiple
versions to be installed at the same time and for selection to be by
trivially changing a symbolic link.
|> ll -d ~/lib*/*[dD][mM][dD]*
lrwxrwxrwx 1 russel russel 9 2010-08-13 16:50 /home/users/russel/lib/DMD1 -> dmd-1.063/
drwx------ 10 russel russel 4096 2010-08-13 16:49 /home/users/russel/lib/dmd-1.063/
lrwxrwxrwx 1 russel russel 9 2010-08-13 18:33 /home/users/russel/lib/DMD2 -> dmd-2.048/
drwx------ 9 russel russel 4096 2010-08-13 16:50 /home/users/russel/lib/dmd-2.048/
lrwxrwxrwx 1 russel russel 17 2010-08-13 16:52 /home/users/russel/lib.Linux.ix86/DMD1 -> ../lib/DMD1/linux/
lrwxrwxrwx 1 russel russel 17 2010-08-13 16:52 /home/users/russel/lib.Linux.ix86/DMD2 -> ../lib/DMD2/linux/
lrwxrwxrwx 1 russel russel 17 2010-08-13 16:55 /home/users/russel/lib.Linux.x86_64/DMD1 -> ../lib/DMD1/linux/
lrwxrwxrwx 1 russel russel 17 2010-08-13 16:55 /home/users/russel/lib.Linux.x86_64/DMD2 -> ../lib/DMD2/linux/
|>
Better still, get the whole thing packaged by Debian and thence in the
Debian and Ubuntu distributions by default.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at russel.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20100914/21454930/attachment-0001.pgp>
More information about the Digitalmars-d
mailing list