Re: [CMake] DESTDIR behaviour with different variable name

2011-04-14 Thread Tomasz Grobelny
On Thu, 14 Apr 2011 05:57:34 +0200, Michael Hertling wrote: > On 04/12/2011 04:36 PM, Tomasz Grobelny wrote: >> Somewhat hackish (especially this \$\(firstword \$\(MAKEFILE_LIST\)\) > > Hackish, ugly, non-portable and absolutely inadvisable. ;-) > >> part). I've just come up with another solutio

Re: [CMake] DESTDIR behaviour with different variable name

2011-04-13 Thread Michael Hertling
On 04/12/2011 04:36 PM, Tomasz Grobelny wrote: > On Tue, 12 Apr 2011 03:44:04 +0200, Michael Hertling > wrote: >> On 04/11/2011 10:42 PM, Tomasz Grobelny wrote: >>> On Monday 11 April 2011 21:55:48 Alexander Neundorf wrote: On Monday 11 April 2011, Tomasz Grobelny wrote: > On Mon, 11 Apr

Re: [CMake] DESTDIR behaviour with different variable name

2011-04-12 Thread Tomasz Grobelny
On Tue, 12 Apr 2011 03:44:04 +0200, Michael Hertling wrote: > On 04/11/2011 10:42 PM, Tomasz Grobelny wrote: >> On Monday 11 April 2011 21:55:48 Alexander Neundorf wrote: >>> On Monday 11 April 2011, Tomasz Grobelny wrote: On Mon, 11 Apr 2011 09:01:09 -0700, Tyler wrote: > On Mon, Apr 11

Re: [CMake] DESTDIR behaviour with different variable name

2011-04-11 Thread Michael Hertling
On 04/11/2011 10:42 PM, Tomasz Grobelny wrote: > On Monday 11 April 2011 21:55:48 Alexander Neundorf wrote: >> On Monday 11 April 2011, Tomasz Grobelny wrote: >>> On Mon, 11 Apr 2011 09:01:09 -0700, Tyler wrote: On Mon, Apr 11, 2011 at 8:54 AM, Tomasz Grobelny wrote: > Ok, but

Re: [CMake] DESTDIR behaviour with different variable name

2011-04-11 Thread Tomasz Grobelny
On Monday 11 April 2011 21:55:48 Alexander Neundorf wrote: > On Monday 11 April 2011, Tomasz Grobelny wrote: > > On Mon, 11 Apr 2011 09:01:09 -0700, Tyler wrote: > > > On Mon, Apr 11, 2011 at 8:54 AM, Tomasz Grobelny > > > > > > wrote: > > >> Ok, but is there a way to achieve the same effect so

Re: [CMake] DESTDIR behaviour with different variable name

2011-04-11 Thread Alexander Neundorf
On Monday 11 April 2011, Tomasz Grobelny wrote: > On Mon, 11 Apr 2011 09:01:09 -0700, Tyler wrote: > > On Mon, Apr 11, 2011 at 8:54 AM, Tomasz Grobelny > > > > wrote: > >> Ok, but is there a way to achieve the same effect so that the user can > >> type just "make install" and not know anything ab

Re: [CMake] DESTDIR behaviour with different variable name

2011-04-11 Thread Tomasz Grobelny
On Mon, 11 Apr 2011 09:01:09 -0700, Tyler wrote: > On Mon, Apr 11, 2011 at 8:54 AM, Tomasz Grobelny > wrote: >> Ok, but is there a way to achieve the same effect so that the user can >> type just "make install" and not know anything about DESTDIR environment >> variable (provided he knows about M

Re: [CMake] DESTDIR behaviour with different variable name

2011-04-11 Thread Tyler
On Mon, Apr 11, 2011 at 8:54 AM, Tomasz Grobelny wrote: > Ok, but is there a way to achieve the same effect so that the user can > type just "make install" and not know anything about DESTDIR environment > variable (provided he knows about MYDESTDIR)? Maybe it is possible to put > this "DESTDIR=$M

Re: [CMake] DESTDIR behaviour with different variable name

2011-04-11 Thread Tomasz Grobelny
On Mon, 11 Apr 2011 16:07:36 +0200, Michael Wild wrote: > On 04/11/2011 03:16 PM, Tomasz Grobelny wrote: >> I need behaviour that is available with DESTDIR (that is changing >> location >> of installation root after configuration and build is done) but with >> different name of environment variabl

Re: [CMake] DESTDIR behaviour with different variable name

2011-04-11 Thread Michael Wild
On 04/11/2011 03:16 PM, Tomasz Grobelny wrote: > I need behaviour that is available with DESTDIR (that is changing location > of installation root after configuration and build is done) but with > different name of environment variable (eg. MYDESTDIR). Is it possible with > cmake? export MYDESTDI

[CMake] DESTDIR behaviour with different variable name

2011-04-11 Thread Tomasz Grobelny
I need behaviour that is available with DESTDIR (that is changing location of installation root after configuration and build is done) but with different name of environment variable (eg. MYDESTDIR). Is it possible with cmake? -- Regards, Tomasz Grobelny ___