On Monday 10 March 2003 11:55, George Caragea wrote:
> Am compilat de curand qt-3.1.1 o data cu restul pachetelor din kde3.1.
> Am folosit konstruct, asa ca la configure, a avut ca
> PREFIX=/home/lalaa/kdenonbeta/konstruct/blabla
>
> S-a compilat ok, numai ca acum as vrea sa il instalez in alta parte, nu
> in home-ul userului. Pot face chestia asta, fara a recompila? Mi-e ca
> daca ii dau un ./configure --prefix=/opt/qt3 dupa aia se apuca sa
> recompileze, si dureaza ore bune. Parca se putea preciza ceva dupa aia
> intr-o variabila de shell ceva?

Da...

din make info:

"   Every Makefile should also define the variables `INSTALL_PROGRAM'
and `INSTALL_DATA'.  (The default for each of these should be
`$(INSTALL)'.)  Then it should use those variables as the commands for
actual installation, for executables and nonexecutables respectively.
Use these variables as follows:

     $(INSTALL_PROGRAM) foo $(bindir)/foo
     $(INSTALL_DATA) libfoo.a $(libdir)/libfoo.a

   Optionally, you may prepend the value of `DESTDIR' to the target
filename.  Doing this allows the installer to create a snapshot of the
installation to be copied onto the real target filesystem later.  Do not
set the value of `DESTDIR' in your Makefile, and do not include it in
any installed files.  With support for `DESTDIR', the above examples
become:

     $(INSTALL_PROGRAM) foo $(DESTDIR)$(bindir)/foo
     $(INSTALL_DATA) libfoo.a $(DESTDIR)$(libdir)/libfoo.a

Always use a file name, not a directory name, as the second argument of
the installation commands.  Use a separate command for each file to be
installed"

Iar KDE Makefiles au support de DESTDIR.

Bineinteles, ca sa-ti ruleze "corect" ar trebui ca faci un wrapper in care 
setezi inainte KDEDIR catre noua locatie... daca nu, poate sa nu-ti gaseasca 
anumite fisiere de care are nevoie si e in kit-ul aplicatiei (nu in KDE)

-- 
  Claudiu

--
Pentru dezabonare, trimiteti mail la 
[EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


Raspunde prin e-mail lui