Re: change make install to be really useful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Montag, 13. August 2007, Joachim Wilke wrote:
> 2007/8/13, Matthias Schwarzott <zzam@xxxxxxxxxx>:
> > install-i18n.diff
>
> I already posted this to the list yesterday.
>
> > makefile-destdir.diff:
> > It add variable DESTDIR to makefile to install under $(DESTDIR) instead
> > of / It also adds variable CONFDIR (by default identical to $(VIDEODIR))
> > to be able to set it to different value.
>
> Where gets DESTDIR actually set?
>
When you do
make install DESTDIR=/directory/I/want/vdr/installed/to

else DESTDIR remains unset and "make install" behaves as always.

The ebuilds do this for example to satisfy some security by using a sandbox 
for compiling and installing programs. make install then uses some temporary 
image directory.
After that the content gets merged to the live system. (Also preserving 
configuration files in that process, ...)

Matthias

-- 
Matthias Schwarzott (zzam)

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux